DateTimeFormat Example.
Today's date and time are {ts '2023-02-03 22:29:04'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 03-Feb-2023 22:29:04
- 2023.02.03 AD 'P' 22:29:04 EST
- Fri, Feb 3, '23
- 10:29 PM
- 10 oc129oc22' PM, Eastern Standard Time
- 10:29 PM, EST
- 02023.February.03 AD 10:29 PM
- Fri, 3 Feb 2023 22:29:04 -0500
- 230204032904+0000