DateTimeFormat Example
Today's date and time are {ts '2026-09-17 04:25:01'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 17-Sep-2026 04:25:01
- 2026.09.17 AD 'A' 04:25:01 EDT
- Thu, Sep 17, '26
- 4:25 AM
- 04 oc288oc4' AM, Eastern Daylight Time
- 4:25 AM, EDT
- 02026.September.17 AD 04:25 AM
- Thu, 17 Sep 2026 04:25:01 -0400
- 260917082501+0000