DateTimeFormat Example.
Today's date and time are {ts '2025-01-16 06:20:55'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 16-Jan-2025 06:20:55
- 2025.01.16 AD 'A' 06:20:55 EST
- Thu, Jan 16, '25
- 6:20 AM
- 06 oc928oc6' AM, Eastern Standard Time
- 6:20 AM, EST
- 02025.January.16 AD 06:20 AM
- Thu, 16 Jan 2025 06:20:55 -0500
- 250116112055+0000