DateTimeFormat Example
Today's date and time are {ts '2026-09-23 17:26:39'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 23-Sep-2026 17:26:39
- 2026.09.23 AD 'P' 17:26:39 EDT
- Wed, Sep 23, '26
- 5:26 PM
- 05 oc105oc17' PM, Eastern Daylight Time
- 5:26 PM, EDT
- 02026.September.23 AD 05:26 PM
- Wed, 23 Sep 2026 17:26:39 -0400
- 260923212639+0000