DateTimeFormat Example
Today's date and time are {ts '2026-09-11 05:55:39'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 11-Sep-2026 05:55:39
- 2026.09.11 AD 'A' 05:55:39 EDT
- Fri, Sep 11, '26
- 5:55 AM
- 05 oc164oc5' AM, Eastern Daylight Time
- 5:55 AM, EDT
- 02026.September.11 AD 05:55 AM
- Fri, 11 Sep 2026 05:55:39 -0400
- 260911095539+0000