DateTimeFormat Example
Today's date and time are {ts '2026-04-20 06:37:43'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 20-Apr-2026 06:37:43
- 2026.04.20 AD 'A' 06:37:43 EDT
- Mon, Apr 20, '26
- 6:37 AM
- 06 oc671oc6' AM, Eastern Daylight Time
- 6:37 AM, EDT
- 02026.April.20 AD 06:37 AM
- Mon, 20 Apr 2026 06:37:43 -0400
- 260420103743+0000