DateTimeFormat Example.
Today's date and time are {ts '2024-12-08 22:01:54'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 08-Dec-2024 22:01:54
- 2024.12.08 AD 'P' 22:01:54 EST
- Sun, Dec 8, '24
- 10:01 PM
- 10 oc969oc22' PM, Eastern Standard Time
- 10:01 PM, EST
- 02024.December.08 AD 10:01 PM
- Sun, 8 Dec 2024 22:01:54 -0500
- 241209030154+0000