DateTimeFormat Example
Today's date and time are {ts '2026-10-22 03:32:50'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 22-Oct-2026 03:32:50
- 2026.10.22 AD 'A' 03:32:50 EDT
- Thu, Oct 22, '26
- 3:32 AM
- 03 oc551oc3' AM, Eastern Daylight Time
- 3:32 AM, EDT
- 02026.October.22 AD 03:32 AM
- Thu, 22 Oct 2026 03:32:50 -0400
- 261022073250+0000