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