DateTimeFormat Example
Today's date and time are {ts '2026-11-14 20:07:55'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 14-Nov-2026 20:07:55
- 2026.11.14 AD 'P' 20:07:55 EST
- Sat, Nov 14, '26
- 8:07 PM
- 08 oc973oc20' PM, Eastern Standard Time
- 8:07 PM, EST
- 02026.November.14 AD 08:07 PM
- Sat, 14 Nov 2026 20:07:55 -0500
- 261115010755+0000