DateTimeFormat Example
Today's date and time are {ts '2026-02-28 16:25:51'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 28-Feb-2026 16:25:51
- 2026.02.28 AD 'P' 16:25:51 EST
- Sat, Feb 28, '26
- 4:25 PM
- 04 oc814oc16' PM, Eastern Standard Time
- 4:25 PM, EST
- 02026.February.28 AD 04:25 PM
- Sat, 28 Feb 2026 16:25:51 -0500
- 260228212551+0000