DateTimeFormat Example
Today's date and time are {ts '2026-09-10 05:54:32'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 10-Sep-2026 05:54:32
- 2026.09.10 AD 'A' 05:54:32 EDT
- Thu, Sep 10, '26
- 5:54 AM
- 05 oc60oc5' AM, Eastern Daylight Time
- 5:54 AM, EDT
- 02026.September.10 AD 05:54 AM
- Thu, 10 Sep 2026 05:54:32 -0400
- 260910095432+0000