DateTimeFormat Example
Today's date and time are {ts '2026-06-03 13:05:09'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 03-Jun-2026 13:05:09
- 2026.06.03 AD 'P' 13:05:09 EDT
- Wed, Jun 3, '26
- 1:05 PM
- 01 oc26oc13' PM, Eastern Daylight Time
- 1:05 PM, EDT
- 02026.June.03 AD 01:05 PM
- Wed, 3 Jun 2026 13:05:09 -0400
- 260603170509+0000