DateTimeFormat Example.
Today's date and time are {ts '2023-12-05 20:46:36'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 05-Dec-2023 20:46:36
- 2023.12.05 AD 'P' 20:46:36 EST
- Tue, Dec 5, '23
- 8:46 PM
- 08 oc501oc20' PM, Eastern Standard Time
- 8:46 PM, EST
- 02023.December.05 AD 08:46 PM
- Tue, 5 Dec 2023 20:46:36 -0500
- 231206014636+0000