DateTimeFormat Example
Today's date and time are {ts '2026-09-03 00:37:34'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 03-Sep-2026 00:37:34
- 2026.09.03 AD 'A' 00:37:34 EDT
- Thu, Sep 3, '26
- 12:37 AM
- 12 oc380oc24' AM, Eastern Daylight Time
- 0:37 AM, EDT
- 02026.September.03 AD 12:37 AM
- Thu, 3 Sep 2026 00:37:34 -0400
- 260903043734+0000