DateTimeFormat Example
Today's date and time are {ts '2026-02-20 16:20:07'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 20-Feb-2026 16:20:07
- 2026.02.20 AD 'P' 16:20:07 EST
- Fri, Feb 20, '26
- 4:20 PM
- 04 oc47oc16' PM, Eastern Standard Time
- 4:20 PM, EST
- 02026.February.20 AD 04:20 PM
- Fri, 20 Feb 2026 16:20:07 -0500
- 260220212007+0000