DateTimeFormat Example
Today's date and time are {ts '2023-12-01 18:54:05'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 01-Dec-2023 18:54:05
- 2023.12.01 AD 'P' 18:54:05 EST
- Fri, Dec 1, '23
- 6:54 PM
- 06 oc920oc18' PM, Eastern Standard Time
- 6:54 PM, EST
- 02023.December.01 AD 06:54 PM
- Fri, 1 Dec 2023 18:54:05 -0500
- 231201235405+0000