DateTimeFormat Example
Today's date and time are {ts '2026-06-25 13:09:42'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 25-Jun-2026 13:09:42
- 2026.06.25 AD 'P' 13:09:42 EDT
- Thu, Jun 25, '26
- 1:09 PM
- 01 oc419oc13' PM, Eastern Daylight Time
- 1:09 PM, EDT
- 02026.June.25 AD 01:09 PM
- Thu, 25 Jun 2026 13:09:42 -0400
- 260625170942+0000