DateTimeFormat Example
Today's date and time are {ts '2026-09-05 14:19:50'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 05-Sep-2026 14:19:50
- 2026.09.05 AD 'P' 14:19:50 EDT
- Sat, Sep 5, '26
- 2:19 PM
- 02 oc522oc14' PM, Eastern Daylight Time
- 2:19 PM, EDT
- 02026.September.05 AD 02:19 PM
- Sat, 5 Sep 2026 14:19:50 -0400
- 260905181950+0000