DateTimeFormat Example
Today's date and time are {ts '2026-11-14 19:05:53'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 14-Nov-2026 19:05:53
- 2026.11.14 AD 'P' 19:05:53 EST
- Sat, Nov 14, '26
- 7:05 PM
- 07 oc475oc19' PM, Eastern Standard Time
- 7:05 PM, EST
- 02026.November.14 AD 07:05 PM
- Sat, 14 Nov 2026 19:05:53 -0500
- 261115000553+0000