DateTimeFormat Example
Today's date and time are {ts '2026-06-30 13:13:10'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 30-Jun-2026 13:13:10
- 2026.06.30 AD 'P' 13:13:10 EDT
- Tue, Jun 30, '26
- 1:13 PM
- 01 oc424oc13' PM, Eastern Daylight Time
- 1:13 PM, EDT
- 02026.June.30 AD 01:13 PM
- Tue, 30 Jun 2026 13:13:10 -0400
- 260630171310+0000