DateTimeFormat Example
Today's date and time are {ts '2026-08-20 16:35:09'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 20-Aug-2026 16:35:09
- 2026.08.20 AD 'P' 16:35:09 EDT
- Thu, Aug 20, '26
- 4:35 PM
- 04 oc117oc16' PM, Eastern Daylight Time
- 4:35 PM, EDT
- 02026.August.20 AD 04:35 PM
- Thu, 20 Aug 2026 16:35:09 -0400
- 260820203509+0000