DateTimeFormat Example
Today's date and time are {ts '2026-09-19 03:49:20'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 19-Sep-2026 03:49:20
- 2026.09.19 AD 'A' 03:49:20 EDT
- Sat, Sep 19, '26
- 3:49 AM
- 03 oc692oc3' AM, Eastern Daylight Time
- 3:49 AM, EDT
- 02026.September.19 AD 03:49 AM
- Sat, 19 Sep 2026 03:49:20 -0400
- 260919074920+0000