DateTimeFormat Example
Today's date and time are {ts '2026-06-14 13:06:47'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 14-Jun-2026 13:06:47
- 2026.06.14 AD 'P' 13:06:47 EDT
- Sun, Jun 14, '26
- 1:06 PM
- 01 oc32oc13' PM, Eastern Daylight Time
- 1:06 PM, EDT
- 02026.June.14 AD 01:06 PM
- Sun, 14 Jun 2026 13:06:47 -0400
- 260614170647+0000