DateTimeFormat Example
Today's date and time are {ts '2026-05-24 15:08:43'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 24-May-2026 15:08:43
- 2026.05.24 AD 'P' 15:08:43 EDT
- Sun, May 24, '26
- 3:08 PM
- 03 oc900oc15' PM, Eastern Daylight Time
- 3:08 PM, EDT
- 02026.May.24 AD 03:08 PM
- Sun, 24 May 2026 15:08:43 -0400
- 260524190843+0000