DateTimeFormat Example.
Today's date and time are {ts '2024-04-24 07:25:23'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 24-Apr-2024 07:25:23
- 2024.04.24 AD 'A' 07:25:23 EDT
- Wed, Apr 24, '24
- 7:25 AM
- 07 oc987oc7' AM, Eastern Daylight Time
- 7:25 AM, EDT
- 02024.April.24 AD 07:25 AM
- Wed, 24 Apr 2024 07:25:23 -0400
- 240424112523+0000