DateTimeFormat Example.
Today's date and time are {ts '2023-02-01 21:17:14'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 01-Feb-2023 21:17:14
- 2023.02.01 AD 'P' 21:17:14 EST
- Wed, Feb 1, '23
- 9:17 PM
- 09 oc706oc21' PM, Eastern Standard Time
- 9:17 PM, EST
- 02023.February.01 AD 09:17 PM
- Wed, 1 Feb 2023 21:17:14 -0500
- 230202021714+0000