DateTimeFormat Example.
Today's date and time are {ts '2023-12-01 19:07:10'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 01-Dec-2023 19:07:10
- 2023.12.01 AD 'P' 19:07:10 EST
- Fri, Dec 1, '23
- 7:07 PM
- 07 oc726oc19' PM, Eastern Standard Time
- 7:07 PM, EST
- 02023.December.01 AD 07:07 PM
- Fri, 1 Dec 2023 19:07:10 -0500
- 231202000710+0000