DateTimeFormat Example
Today's date and time are {ts '2026-03-22 06:35:19'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 22-Mar-2026 06:35:19
- 2026.03.22 AD 'A' 06:35:19 EDT
- Sun, Mar 22, '26
- 6:35 AM
- 06 oc72oc6' AM, Eastern Daylight Time
- 6:35 AM, EDT
- 02026.March.22 AD 06:35 AM
- Sun, 22 Mar 2026 06:35:19 -0400
- 260322103519+0000