DateTimeFormat Example.
Today's date and time are {ts '2023-03-20 20:46:34'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 20-Mar-2023 20:46:34
- 2023.03.20 AD 'P' 20:46:34 EDT
- Mon, Mar 20, '23
- 8:46 PM
- 08 oc160oc20' PM, Eastern Daylight Time
- 8:46 PM, EDT
- 02023.March.20 AD 08:46 PM
- Mon, 20 Mar 2023 20:46:34 -0400
- 230321004634+0000