DateTimeFormat Example.
Today's date and time are {ts '2022-08-13 18:26:15'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 13-Aug-2022 18:26:15
- 2022.08.13 AD 'P' 18:26:15 EDT
- Sat, Aug 13, '22
- 6:26 PM
- 06 oc608oc18' PM, Eastern Daylight Time
- 6:26 PM, EDT
- 02022.August.13 AD 06:26 PM
- Sat, 13 Aug 2022 18:26:15 -0400
- 220813222615+0000