DateTimeFormat Example
Today's date and time are {ts '2025-04-26 01:19:07'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 26-Apr-2025 01:19:07
- 2025.04.26 AD 'A' 01:19:07 EDT
- Sat, Apr 26, '25
- 1:19 AM
- 01 oc2oc1' AM, Eastern Daylight Time
- 1:19 AM, EDT
- 02025.April.26 AD 01:19 AM
- Sat, 26 Apr 2025 01:19:07 -0400
- 250426051907+0000