DateTimeFormat Example
Today's date and time are {ts '2026-09-30 21:36:32'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 30-Sep-2026 21:36:32
- 2026.09.30 AD 'P' 21:36:32 EDT
- Wed, Sep 30, '26
- 9:36 PM
- 09 oc522oc21' PM, Eastern Daylight Time
- 9:36 PM, EDT
- 02026.September.30 AD 09:36 PM
- Wed, 30 Sep 2026 21:36:32 -0400
- 261001013632+0000