DateTimeFormat Example
Today's date and time are {ts '2026-10-17 17:39:33'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 17-Oct-2026 17:39:33
- 2026.10.17 AD 'P' 17:39:33 EDT
- Sat, Oct 17, '26
- 5:39 PM
- 05 oc904oc17' PM, Eastern Daylight Time
- 5:39 PM, EDT
- 02026.October.17 AD 05:39 PM
- Sat, 17 Oct 2026 17:39:33 -0400
- 261017213933+0000