DateTimeFormat Example
Today's date and time are {ts '2026-05-09 06:46:47'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 09-May-2026 06:46:47
- 2026.05.09 AD 'A' 06:46:47 EDT
- Sat, May 9, '26
- 6:46 AM
- 06 oc393oc6' AM, Eastern Daylight Time
- 6:46 AM, EDT
- 02026.May.09 AD 06:46 AM
- Sat, 9 May 2026 06:46:47 -0400
- 260509104647+0000