DateTimeFormat Example.
Today's date and time are {ts '2025-03-20 01:27:31'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 20-Mar-2025 01:27:31
- 2025.03.20 AD 'A' 01:27:31 EDT
- Thu, Mar 20, '25
- 1:27 AM
- 01 oc288oc1' AM, Eastern Daylight Time
- 1:27 AM, EDT
- 02025.March.20 AD 01:27 AM
- Thu, 20 Mar 2025 01:27:31 -0400
- 250320052731+0000