DateTimeFormat Example.
Today's date and time are {ts '2024-10-02 12:23:30'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 02-Oct-2024 12:23:30
- 2024.10.02 AD 'P' 12:23:30 EDT
- Wed, Oct 2, '24
- 12:23 PM
- 12 oc768oc12' PM, Eastern Daylight Time
- 0:23 PM, EDT
- 02024.October.02 AD 12:23 PM
- Wed, 2 Oct 2024 12:23:30 -0400
- 241002162330+0000