DateTimeFormat Example
Today's date and time are {ts '2026-10-26 03:49:08'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 26-Oct-2026 03:49:08
- 2026.10.26 AD 'A' 03:49:08 EDT
- Mon, Oct 26, '26
- 3:49 AM
- 03 oc577oc3' AM, Eastern Daylight Time
- 3:49 AM, EDT
- 02026.October.26 AD 03:49 AM
- Mon, 26 Oct 2026 03:49:08 -0400
- 261026074908+0000