DateTimeFormat Example
Today's date and time are {ts '2026-05-03 07:10:30'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 03-May-2026 07:10:30
- 2026.05.03 AD 'A' 07:10:30 EDT
- Sun, May 3, '26
- 7:10 AM
- 07 oc622oc7' AM, Eastern Daylight Time
- 7:10 AM, EDT
- 02026.May.03 AD 07:10 AM
- Sun, 3 May 2026 07:10:30 -0400
- 260503111030+0000