DateTimeFormat Example
Today's date and time are {ts '2026-05-26 13:37:23'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 26-May-2026 13:37:23
- 2026.05.26 AD 'P' 13:37:23 EDT
- Tue, May 26, '26
- 1:37 PM
- 01 oc22oc13' PM, Eastern Daylight Time
- 1:37 PM, EDT
- 02026.May.26 AD 01:37 PM
- Tue, 26 May 2026 13:37:23 -0400
- 260526173723+0000