DateTimeFormat Example
Today's date and time are {ts '2026-02-09 16:26:00'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 09-Feb-2026 16:26:00
- 2026.02.09 AD 'P' 16:26:00 EST
- Mon, Feb 9, '26
- 4:26 PM
- 04 oc598oc16' PM, Eastern Standard Time
- 4:26 PM, EST
- 02026.February.09 AD 04:26 PM
- Mon, 9 Feb 2026 16:26:00 -0500
- 260209212600+0000