DateTimeFormat Example.
Today's date and time are {ts '2023-03-21 06:20:42'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 21-Mar-2023 06:20:42
- 2023.03.21 AD 'A' 06:20:42 EDT
- Tue, Mar 21, '23
- 6:20 AM
- 06 oc791oc6' AM, Eastern Daylight Time
- 6:20 AM, EDT
- 02023.March.21 AD 06:20 AM
- Tue, 21 Mar 2023 06:20:42 -0400
- 230321102042+0000