DateTimeFormat Example
Today's date and time are {ts '2025-09-15 05:38:20'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 15-Sep-2025 05:38:20
- 2025.09.15 AD 'A' 05:38:20 EDT
- Mon, Sep 15, '25
- 5:38 AM
- 05 oc473oc5' AM, Eastern Daylight Time
- 5:38 AM, EDT
- 02025.September.15 AD 05:38 AM
- Mon, 15 Sep 2025 05:38:20 -0400
- 250915093820+0000