DateTimeFormat Example
Today's date and time are {ts '2026-04-15 11:52:47'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 15-Apr-2026 11:52:47
- 2026.04.15 AD 'A' 11:52:47 EDT
- Wed, Apr 15, '26
- 11:52 AM
- 11 oc29oc11' AM, Eastern Daylight Time
- 11:52 AM, EDT
- 02026.April.15 AD 11:52 AM
- Wed, 15 Apr 2026 11:52:47 -0400
- 260415155247+0000