DateTimeFormat Example
Today's date and time are {ts '2026-09-13 22:57:13'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 13-Sep-2026 22:57:13
- 2026.09.13 AD 'P' 22:57:13 EDT
- Sun, Sep 13, '26
- 10:57 PM
- 10 oc590oc22' PM, Eastern Daylight Time
- 10:57 PM, EDT
- 02026.September.13 AD 10:57 PM
- Sun, 13 Sep 2026 22:57:13 -0400
- 260914025713+0000