DateTimeFormat Example
Today's date and time are {ts '2024-09-08 16:28:12'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 08-Sep-2024 16:28:12
- 2024.09.08 AD 'P' 16:28:12 EDT
- Sun, Sep 8, '24
- 4:28 PM
- 04 oc920oc16' PM, Eastern Daylight Time
- 4:28 PM, EDT
- 02024.September.08 AD 04:28 PM
- Sun, 8 Sep 2024 16:28:12 -0400
- 240908202812+0000