DateTimeFormat Example
Today's date and time are {ts '2026-05-02 06:53:50'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 02-May-2026 06:53:50
- 2026.05.02 AD 'A' 06:53:50 EDT
- Sat, May 2, '26
- 6:53 AM
- 06 oc745oc6' AM, Eastern Daylight Time
- 6:53 AM, EDT
- 02026.May.02 AD 06:53 AM
- Sat, 2 May 2026 06:53:50 -0400
- 260502105350+0000