DateTimeFormat Example
Today's date and time are {ts '2026-10-22 03:49:57'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 22-Oct-2026 03:49:57
- 2026.10.22 AD 'A' 03:49:57 EDT
- Thu, Oct 22, '26
- 3:49 AM
- 03 oc136oc3' AM, Eastern Daylight Time
- 3:49 AM, EDT
- 02026.October.22 AD 03:49 AM
- Thu, 22 Oct 2026 03:49:57 -0400
- 261022074957+0000