DateTimeFormat Example
Today's date and time are {ts '2026-05-22 15:04:59'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 22-May-2026 15:04:59
- 2026.05.22 AD 'P' 15:04:59 EDT
- Fri, May 22, '26
- 3:04 PM
- 03 oc552oc15' PM, Eastern Daylight Time
- 3:04 PM, EDT
- 02026.May.22 AD 03:04 PM
- Fri, 22 May 2026 15:04:59 -0400
- 260522190459+0000