DateTimeFormat Example.
Today's date and time are {ts '2023-02-07 09:06:20'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 07-Feb-2023 09:06:20
- 2023.02.07 AD 'A' 09:06:20 EST
- Tue, Feb 7, '23
- 9:06 AM
- 09 oc2oc9' AM, Eastern Standard Time
- 9:06 AM, EST
- 02023.February.07 AD 09:06 AM
- Tue, 7 Feb 2023 09:06:20 -0500
- 230207140620+0000