DateTimeFormat Example
Today's date and time are {ts '2026-08-15 03:58:20'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 15-Aug-2026 03:58:20
- 2026.08.15 AD 'A' 03:58:20 EDT
- Sat, Aug 15, '26
- 3:58 AM
- 03 oc200oc3' AM, Eastern Daylight Time
- 3:58 AM, EDT
- 02026.August.15 AD 03:58 AM
- Sat, 15 Aug 2026 03:58:20 -0400
- 260815075820+0000