DateTimeFormat Example.
Today's date and time are {ts '2023-10-03 17:17:58'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 03-Oct-2023 17:17:58
- 2023.10.03 AD 'P' 17:17:58 EDT
- Tue, Oct 3, '23
- 5:17 PM
- 05 oc893oc17' PM, Eastern Daylight Time
- 5:17 PM, EDT
- 02023.October.03 AD 05:17 PM
- Tue, 3 Oct 2023 17:17:58 -0400
- 231003211758+0000