DateTimeFormat Example.
Today's date and time are {ts '2022-08-15 08:59:23'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 15-Aug-2022 08:59:23
- 2022.08.15 AD 'A' 08:59:23 EDT
- Mon, Aug 15, '22
- 8:59 AM
- 08 oc675oc8' AM, Eastern Daylight Time
- 8:59 AM, EDT
- 02022.August.15 AD 08:59 AM
- Mon, 15 Aug 2022 08:59:23 -0400
- 220815125923+0000