DateTimeFormat Example
Today's date and time are {ts '2024-10-03 20:03:52'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 03-Oct-2024 20:03:52
- 2024.10.03 AD 'P' 20:03:52 EDT
- Thu, Oct 3, '24
- 8:03 PM
- 08 oc768oc20' PM, Eastern Daylight Time
- 8:03 PM, EDT
- 02024.October.03 AD 08:03 PM
- Thu, 3 Oct 2024 20:03:52 -0400
- 241004000352+0000