DateTimeFormat Example
Today's date and time are {ts '2026-09-12 22:53:14'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 12-Sep-2026 22:53:14
- 2026.09.12 AD 'P' 22:53:14 EDT
- Sat, Sep 12, '26
- 10:53 PM
- 10 oc806oc22' PM, Eastern Daylight Time
- 10:53 PM, EDT
- 02026.September.12 AD 10:53 PM
- Sat, 12 Sep 2026 22:53:14 -0400
- 260913025314+0000