DateTimeFormat Example
Today's date and time are {ts '2025-03-19 02:54:40'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 19-Mar-2025 02:54:40
- 2025.03.19 AD 'A' 02:54:40 EDT
- Wed, Mar 19, '25
- 2:54 AM
- 02 oc974oc2' AM, Eastern Daylight Time
- 2:54 AM, EDT
- 02025.March.19 AD 02:54 AM
- Wed, 19 Mar 2025 02:54:40 -0400
- 250319065440+0000