DateTimeFormat Example.
Today's date and time are {ts '2023-03-29 10:19:43'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 29-Mar-2023 10:19:43
- 2023.03.29 AD 'A' 10:19:43 EDT
- Wed, Mar 29, '23
- 10:19 AM
- 10 oc131oc10' AM, Eastern Daylight Time
- 10:19 AM, EDT
- 02023.March.29 AD 10:19 AM
- Wed, 29 Mar 2023 10:19:43 -0400
- 230329141943+0000