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