DateTimeFormat Example
Today's date and time are {ts '2026-05-12 06:11:43'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 12-May-2026 06:11:43
- 2026.05.12 AD 'A' 06:11:43 EDT
- Tue, May 12, '26
- 6:11 AM
- 06 oc368oc6' AM, Eastern Daylight Time
- 6:11 AM, EDT
- 02026.May.12 AD 06:11 AM
- Tue, 12 May 2026 06:11:43 -0400
- 260512101143+0000