DateTimeFormat Example
Today's date and time are {ts '2026-10-24 03:50:14'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 24-Oct-2026 03:50:14
- 2026.10.24 AD 'A' 03:50:14 EDT
- Sat, Oct 24, '26
- 3:50 AM
- 03 oc687oc3' AM, Eastern Daylight Time
- 3:50 AM, EDT
- 02026.October.24 AD 03:50 AM
- Sat, 24 Oct 2026 03:50:14 -0400
- 261024075014+0000