DateTimeFormat Example
Today's date and time are {ts '2026-04-23 07:16:55'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 23-Apr-2026 07:16:55
- 2026.04.23 AD 'A' 07:16:55 EDT
- Thu, Apr 23, '26
- 7:16 AM
- 07 oc612oc7' AM, Eastern Daylight Time
- 7:16 AM, EDT
- 02026.April.23 AD 07:16 AM
- Thu, 23 Apr 2026 07:16:55 -0400
- 260423111655+0000