DateTimeFormat Example.
Today's date and time are {ts '2024-10-14 22:01:22'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 14-Oct-2024 22:01:22
- 2024.10.14 AD 'P' 22:01:22 EDT
- Mon, Oct 14, '24
- 10:01 PM
- 10 oc317oc22' PM, Eastern Daylight Time
- 10:01 PM, EDT
- 02024.October.14 AD 10:01 PM
- Mon, 14 Oct 2024 22:01:22 -0400
- 241015020122+0000