DateTimeFormat Example
Today's date and time are {ts '2025-04-03 23:45:13'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 03-Apr-2025 23:45:13
- 2025.04.03 AD 'P' 23:45:13 EDT
- Thu, Apr 3, '25
- 11:45 PM
- 11 oc82oc23' PM, Eastern Daylight Time
- 11:45 PM, EDT
- 02025.April.03 AD 11:45 PM
- Thu, 3 Apr 2025 23:45:13 -0400
- 250404034513+0000