DateTimeFormat Example
Today's date and time are {ts '2026-06-15 13:36:22'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 15-Jun-2026 13:36:22
- 2026.06.15 AD 'P' 13:36:22 EDT
- Mon, Jun 15, '26
- 1:36 PM
- 01 oc118oc13' PM, Eastern Daylight Time
- 1:36 PM, EDT
- 02026.June.15 AD 01:36 PM
- Mon, 15 Jun 2026 13:36:22 -0400
- 260615173622+0000