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