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