DateTimeFormat Example
Today's date and time are {ts '2026-03-25 14:55:54'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 25-Mar-2026 14:55:54
- 2026.03.25 AD 'P' 14:55:54 EDT
- Wed, Mar 25, '26
- 2:55 PM
- 02 oc437oc14' PM, Eastern Daylight Time
- 2:55 PM, EDT
- 02026.March.25 AD 02:55 PM
- Wed, 25 Mar 2026 14:55:54 -0400
- 260325185554+0000