DateTimeFormat Example
Today's date and time are {ts '2022-08-18 07:43:25'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 18-Aug-2022 07:43:25
- 2022.08.18 AD 'A' 07:43:25 EDT
- Thu, Aug 18, '22
- 7:43 AM
- 07 oc657oc7' AM, Eastern Daylight Time
- 7:43 AM, EDT
- 02022.August.18 AD 07:43 AM
- Thu, 18 Aug 2022 07:43:25 -0400
- 220818114325+0000