DateTimeFormat Example
Today's date and time are {ts '2025-04-29 01:25:22'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 29-Apr-2025 01:25:22
- 2025.04.29 AD 'A' 01:25:22 EDT
- Tue, Apr 29, '25
- 1:25 AM
- 01 oc729oc1' AM, Eastern Daylight Time
- 1:25 AM, EDT
- 02025.April.29 AD 01:25 AM
- Tue, 29 Apr 2025 01:25:22 -0400
- 250429052522+0000