DateTimeFormat Example.
Today's date and time are {ts '2024-10-14 04:05:13'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 14-Oct-2024 04:05:13
- 2024.10.14 AD 'A' 04:05:13 EDT
- Mon, Oct 14, '24
- 4:05 AM
- 04 oc927oc4' AM, Eastern Daylight Time
- 4:05 AM, EDT
- 02024.October.14 AD 04:05 AM
- Mon, 14 Oct 2024 04:05:13 -0400
- 241014080513+0000