DateTimeFormat Example
Today's date and time are {ts '2026-05-07 06:37:30'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 07-May-2026 06:37:30
- 2026.05.07 AD 'A' 06:37:30 EDT
- Thu, May 7, '26
- 6:37 AM
- 06 oc505oc6' AM, Eastern Daylight Time
- 6:37 AM, EDT
- 02026.May.07 AD 06:37 AM
- Thu, 7 May 2026 06:37:30 -0400
- 260507103730+0000