DateTimeFormat Example
Today's date and time are {ts '2026-04-30 07:20:07'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 30-Apr-2026 07:20:07
- 2026.04.30 AD 'A' 07:20:07 EDT
- Thu, Apr 30, '26
- 7:20 AM
- 07 oc896oc7' AM, Eastern Daylight Time
- 7:20 AM, EDT
- 02026.April.30 AD 07:20 AM
- Thu, 30 Apr 2026 07:20:07 -0400
- 260430112007+0000