DateTimeFormat Example
Today's date and time are {ts '2026-02-19 16:32:48'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 19-Feb-2026 16:32:48
- 2026.02.19 AD 'P' 16:32:48 EST
- Thu, Feb 19, '26
- 4:32 PM
- 04 oc207oc16' PM, Eastern Standard Time
- 4:32 PM, EST
- 02026.February.19 AD 04:32 PM
- Thu, 19 Feb 2026 16:32:48 -0500
- 260219213248+0000