DateTimeFormat Example
Today's date and time are {ts '2025-09-18 08:20:11'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 18-Sep-2025 08:20:11
- 2025.09.18 AD 'A' 08:20:11 EDT
- Thu, Sep 18, '25
- 8:20 AM
- 08 oc829oc8' AM, Eastern Daylight Time
- 8:20 AM, EDT
- 02025.September.18 AD 08:20 AM
- Thu, 18 Sep 2025 08:20:11 -0400
- 250918122011+0000