DateTimeFormat Example
Today's date and time are {ts '2026-03-26 14:59:14'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 26-Mar-2026 14:59:14
- 2026.03.26 AD 'P' 14:59:14 EDT
- Thu, Mar 26, '26
- 2:59 PM
- 02 oc317oc14' PM, Eastern Daylight Time
- 2:59 PM, EDT
- 02026.March.26 AD 02:59 PM
- Thu, 26 Mar 2026 14:59:14 -0400
- 260326185914+0000