DateTimeFormat Example
Today's date and time are {ts '2026-05-25 13:32:44'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 25-May-2026 13:32:44
- 2026.05.25 AD 'P' 13:32:44 EDT
- Mon, May 25, '26
- 1:32 PM
- 01 oc773oc13' PM, Eastern Daylight Time
- 1:32 PM, EDT
- 02026.May.25 AD 01:32 PM
- Mon, 25 May 2026 13:32:44 -0400
- 260525173244+0000