DateTimeFormat Example
Today's date and time are {ts '2026-05-08 06:30:38'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 08-May-2026 06:30:38
- 2026.05.08 AD 'A' 06:30:38 EDT
- Fri, May 8, '26
- 6:30 AM
- 06 oc576oc6' AM, Eastern Daylight Time
- 6:30 AM, EDT
- 02026.May.08 AD 06:30 AM
- Fri, 8 May 2026 06:30:38 -0400
- 260508103038+0000