DateTimeFormat Example
Today's date and time are {ts '2025-10-15 08:21:20'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 15-Oct-2025 08:21:20
- 2025.10.15 AD 'A' 08:21:20 EDT
- Wed, Oct 15, '25
- 8:21 AM
- 08 oc586oc8' AM, Eastern Daylight Time
- 8:21 AM, EDT
- 02025.October.15 AD 08:21 AM
- Wed, 15 Oct 2025 08:21:20 -0400
- 251015122120+0000