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