DateTimeFormat Example
Today's date and time are {ts '2026-03-23 15:03:14'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 23-Mar-2026 15:03:14
- 2026.03.23 AD 'P' 15:03:14 EDT
- Mon, Mar 23, '26
- 3:03 PM
- 03 oc566oc15' PM, Eastern Daylight Time
- 3:03 PM, EDT
- 02026.March.23 AD 03:03 PM
- Mon, 23 Mar 2026 15:03:14 -0400
- 260323190314+0000