DateTimeFormat Example
Today's date and time are {ts '2026-09-11 23:39:19'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 11-Sep-2026 23:39:19
- 2026.09.11 AD 'P' 23:39:19 EDT
- Fri, Sep 11, '26
- 11:39 PM
- 11 oc736oc23' PM, Eastern Daylight Time
- 11:39 PM, EDT
- 02026.September.11 AD 11:39 PM
- Fri, 11 Sep 2026 23:39:19 -0400
- 260912033919+0000