DateTimeFormat Example.
Today's date and time are {ts '2024-09-15 02:17:47'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 15-Sep-2024 02:17:47
- 2024.09.15 AD 'A' 02:17:47 EDT
- Sun, Sep 15, '24
- 2:17 AM
- 02 oc431oc2' AM, Eastern Daylight Time
- 2:17 AM, EDT
- 02024.September.15 AD 02:17 AM
- Sun, 15 Sep 2024 02:17:47 -0400
- 240915061747+0000