DateTimeFormat Example.
Today's date and time are {ts '2021-02-24 20:38:11'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 24-Feb-2021 20:38:11
- 2021.02.24 AD 'P' 20:38:11 EST
- Wed, Feb 24, '21
- 8:38 PM
- 08 oc868oc20' PM, Eastern Standard Time
- 8:38 PM, EST
- 02021.February.24 AD 08:38 PM
- Wed, 24 Feb 2021 20:38:11 -0500
- 210225013811+0000