DateTimeFormat Example
Today's date and time are {ts '2025-06-24 13:11:37'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 24-Jun-2025 13:11:37
- 2025.06.24 AD 'P' 13:11:37 EDT
- Tue, Jun 24, '25
- 1:11 PM
- 01 oc475oc13' PM, Eastern Daylight Time
- 1:11 PM, EDT
- 02025.June.24 AD 01:11 PM
- Tue, 24 Jun 2025 13:11:37 -0400
- 250624171137+0000