DateTimeFormat Example
Today's date and time are {ts '2026-02-06 16:28:41'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 06-Feb-2026 16:28:41
- 2026.02.06 AD 'P' 16:28:41 EST
- Fri, Feb 6, '26
- 4:28 PM
- 04 oc615oc16' PM, Eastern Standard Time
- 4:28 PM, EST
- 02026.February.06 AD 04:28 PM
- Fri, 6 Feb 2026 16:28:41 -0500
- 260206212841+0000