DateTimeFormat Example
Today's date and time are {ts '2026-03-10 06:45:25'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 10-Mar-2026 06:45:25
- 2026.03.10 AD 'A' 06:45:25 EDT
- Tue, Mar 10, '26
- 6:45 AM
- 06 oc127oc6' AM, Eastern Daylight Time
- 6:45 AM, EDT
- 02026.March.10 AD 06:45 AM
- Tue, 10 Mar 2026 06:45:25 -0400
- 260310104525+0000