DateTimeFormat Example
Today's date and time are {ts '2026-05-21 11:29:53'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 21-May-2026 11:29:53
- 2026.05.21 AD 'A' 11:29:53 EDT
- Thu, May 21, '26
- 11:29 AM
- 11 oc735oc11' AM, Eastern Daylight Time
- 11:29 AM, EDT
- 02026.May.21 AD 11:29 AM
- Thu, 21 May 2026 11:29:53 -0400
- 260521152953+0000