DateTimeFormat Example.
Today's date and time are {ts '2022-05-21 12:41:11'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 21-May-2022 12:41:11
- 2022.05.21 AD 'P' 12:41:11 EDT
- Sat, May 21, '22
- 12:41 PM
- 12 oc979oc12' PM, Eastern Daylight Time
- 0:41 PM, EDT
- 02022.May.21 AD 12:41 PM
- Sat, 21 May 2022 12:41:11 -0400
- 220521164111+0000