DateTimeFormat Example
Today's date and time are {ts '2026-02-11 16:13:12'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 11-Feb-2026 16:13:12
- 2026.02.11 AD 'P' 16:13:12 EST
- Wed, Feb 11, '26
- 4:13 PM
- 04 oc415oc16' PM, Eastern Standard Time
- 4:13 PM, EST
- 02026.February.11 AD 04:13 PM
- Wed, 11 Feb 2026 16:13:12 -0500
- 260211211312+0000