DateTimeFormat Example.
Today's date and time are {ts '2023-03-23 20:32:44'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 23-Mar-2023 20:32:44
- 2023.03.23 AD 'P' 20:32:44 EDT
- Thu, Mar 23, '23
- 8:32 PM
- 08 oc661oc20' PM, Eastern Daylight Time
- 8:32 PM, EDT
- 02023.March.23 AD 08:32 PM
- Thu, 23 Mar 2023 20:32:44 -0400
- 230324003244+0000