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