DateTimeFormat Example
Today's date and time are {ts '2026-04-25 07:17:14'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 25-Apr-2026 07:17:14
- 2026.04.25 AD 'A' 07:17:14 EDT
- Sat, Apr 25, '26
- 7:17 AM
- 07 oc273oc7' AM, Eastern Daylight Time
- 7:17 AM, EDT
- 02026.April.25 AD 07:17 AM
- Sat, 25 Apr 2026 07:17:14 -0400
- 260425111714+0000