DateTimeFormat Example
Today's date and time are {ts '2026-05-20 19:04:03'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 20-May-2026 19:04:03
- 2026.05.20 AD 'P' 19:04:03 EDT
- Wed, May 20, '26
- 7:04 PM
- 07 oc828oc19' PM, Eastern Daylight Time
- 7:04 PM, EDT
- 02026.May.20 AD 07:04 PM
- Wed, 20 May 2026 19:04:03 -0400
- 260520230403+0000