DateTimeFormat Example
Today's date and time are {ts '2026-02-07 16:19:00'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 07-Feb-2026 16:19:00
- 2026.02.07 AD 'P' 16:19:00 EST
- Sat, Feb 7, '26
- 4:19 PM
- 04 oc159oc16' PM, Eastern Standard Time
- 4:19 PM, EST
- 02026.February.07 AD 04:19 PM
- Sat, 7 Feb 2026 16:19:00 -0500
- 260207211900+0000