DateTimeFormat Example
Today's date and time are {ts '2026-08-24 18:45:37'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 24-Aug-2026 18:45:37
- 2026.08.24 AD 'P' 18:45:37 EDT
- Mon, Aug 24, '26
- 6:45 PM
- 06 oc406oc18' PM, Eastern Daylight Time
- 6:45 PM, EDT
- 02026.August.24 AD 06:45 PM
- Mon, 24 Aug 2026 18:45:37 -0400
- 260824224537+0000