DateTimeFormat Example
Today's date and time are {ts '2026-10-09 17:33:34'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 09-Oct-2026 17:33:34
- 2026.10.09 AD 'P' 17:33:34 EDT
- Fri, Oct 9, '26
- 5:33 PM
- 05 oc438oc17' PM, Eastern Daylight Time
- 5:33 PM, EDT
- 02026.October.09 AD 05:33 PM
- Fri, 9 Oct 2026 17:33:34 -0400
- 261009213334+0000