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