DateTimeFormat Example.
Today's date and time are {ts '2023-12-05 22:37:53'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 05-Dec-2023 22:37:53
- 2023.12.05 AD 'P' 22:37:53 EST
- Tue, Dec 5, '23
- 10:37 PM
- 10 oc741oc22' PM, Eastern Standard Time
- 10:37 PM, EST
- 02023.December.05 AD 10:37 PM
- Tue, 5 Dec 2023 22:37:53 -0500
- 231206033753+0000