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