DateTimeFormat Example.
Today's date and time are {ts '2024-03-18 21:16:00'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 18-Mar-2024 21:16:00
- 2024.03.18 AD 'P' 21:16:00 EDT
- Mon, Mar 18, '24
- 9:16 PM
- 09 oc835oc21' PM, Eastern Daylight Time
- 9:16 PM, EDT
- 02024.March.18 AD 09:16 PM
- Mon, 18 Mar 2024 21:16:00 -0400
- 240319011600+0000