DateTimeFormat Example
Today's date and time are {ts '2026-09-04 00:03:41'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 04-Sep-2026 00:03:41
- 2026.09.04 AD 'A' 00:03:41 EDT
- Fri, Sep 4, '26
- 12:03 AM
- 12 oc121oc24' AM, Eastern Daylight Time
- 0:03 AM, EDT
- 02026.September.04 AD 12:03 AM
- Fri, 4 Sep 2026 00:03:41 -0400
- 260904040341+0000