DateTimeFormat Example
Today's date and time are {ts '2026-05-11 06:34:48'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 11-May-2026 06:34:48
- 2026.05.11 AD 'A' 06:34:48 EDT
- Mon, May 11, '26
- 6:34 AM
- 06 oc181oc6' AM, Eastern Daylight Time
- 6:34 AM, EDT
- 02026.May.11 AD 06:34 AM
- Mon, 11 May 2026 06:34:48 -0400
- 260511103448+0000