DateTimeFormat Example.
Today's date and time are {ts '2024-10-31 19:52:48'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 31-Oct-2024 19:52:48
- 2024.10.31 AD 'P' 19:52:48 EDT
- Thu, Oct 31, '24
- 7:52 PM
- 07 oc258oc19' PM, Eastern Daylight Time
- 7:52 PM, EDT
- 02024.October.31 AD 07:52 PM
- Thu, 31 Oct 2024 19:52:48 -0400
- 241031235248+0000