DateTimeFormat Example
Today's date and time are {ts '2026-11-21 16:01:07'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 21-Nov-2026 16:01:07
- 2026.11.21 AD 'P' 16:01:07 EST
- Sat, Nov 21, '26
- 4:01 PM
- 04 oc274oc16' PM, Eastern Standard Time
- 4:01 PM, EST
- 02026.November.21 AD 04:01 PM
- Sat, 21 Nov 2026 16:01:07 -0500
- 261121210107+0000