DateTimeFormat Example.
Today's date and time are {ts '2024-12-12 16:01:38'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 12-Dec-2024 16:01:38
- 2024.12.12 AD 'P' 16:01:38 EST
- Thu, Dec 12, '24
- 4:01 PM
- 04 oc674oc16' PM, Eastern Standard Time
- 4:01 PM, EST
- 02024.December.12 AD 04:01 PM
- Thu, 12 Dec 2024 16:01:38 -0500
- 241212210138+0000