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