DateTimeFormat Example
Today's date and time are {ts '2026-11-16 19:15:35'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 16-Nov-2026 19:15:35
- 2026.11.16 AD 'P' 19:15:35 EST
- Mon, Nov 16, '26
- 7:15 PM
- 07 oc68oc19' PM, Eastern Standard Time
- 7:15 PM, EST
- 02026.November.16 AD 07:15 PM
- Mon, 16 Nov 2026 19:15:35 -0500
- 261117001535+0000