DateTimeFormat Example
Today's date and time are {ts '2026-08-19 14:25:30'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 19-Aug-2026 14:25:30
- 2026.08.19 AD 'P' 14:25:30 EDT
- Wed, Aug 19, '26
- 2:25 PM
- 02 oc407oc14' PM, Eastern Daylight Time
- 2:25 PM, EDT
- 02026.August.19 AD 02:25 PM
- Wed, 19 Aug 2026 14:25:30 -0400
- 260819182530+0000