DateTimeFormat Example
Today's date and time are {ts '2026-06-11 13:23:24'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 11-Jun-2026 13:23:24
- 2026.06.11 AD 'P' 13:23:24 EDT
- Thu, Jun 11, '26
- 1:23 PM
- 01 oc716oc13' PM, Eastern Daylight Time
- 1:23 PM, EDT
- 02026.June.11 AD 01:23 PM
- Thu, 11 Jun 2026 13:23:24 -0400
- 260611172324+0000