DateTimeFormat Example
Today's date and time are {ts '2026-09-19 04:17:46'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 19-Sep-2026 04:17:46
- 2026.09.19 AD 'A' 04:17:46 EDT
- Sat, Sep 19, '26
- 4:17 AM
- 04 oc504oc4' AM, Eastern Daylight Time
- 4:17 AM, EDT
- 02026.September.19 AD 04:17 AM
- Sat, 19 Sep 2026 04:17:46 -0400
- 260919081746+0000