DateTimeFormat Example
Today's date and time are {ts '2026-06-28 13:01:06'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 28-Jun-2026 13:01:06
- 2026.06.28 AD 'P' 13:01:06 EDT
- Sun, Jun 28, '26
- 1:01 PM
- 01 oc808oc13' PM, Eastern Daylight Time
- 1:01 PM, EDT
- 02026.June.28 AD 01:01 PM
- Sun, 28 Jun 2026 13:01:06 -0400
- 260628170106+0000