DateTimeFormat Example.
Today's date and time are {ts '2025-03-23 12:40:17'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 23-Mar-2025 12:40:17
- 2025.03.23 AD 'P' 12:40:17 EDT
- Sun, Mar 23, '25
- 12:40 PM
- 12 oc171oc12' PM, Eastern Daylight Time
- 0:40 PM, EDT
- 02025.March.23 AD 12:40 PM
- Sun, 23 Mar 2025 12:40:17 -0400
- 250323164017+0000