DateTimeFormat Example
Today's date and time are {ts '2026-12-04 21:09:47'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 04-Dec-2026 21:09:47
- 2026.12.04 AD 'P' 21:09:47 EST
- Fri, Dec 4, '26
- 9:09 PM
- 09 oc483oc21' PM, Eastern Standard Time
- 9:09 PM, EST
- 02026.December.04 AD 09:09 PM
- Fri, 4 Dec 2026 21:09:47 -0500
- 261205020947+0000