DateTimeFormat Example
Today's date and time are {ts '2026-10-23 03:38:09'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 23-Oct-2026 03:38:09
- 2026.10.23 AD 'A' 03:38:09 EDT
- Fri, Oct 23, '26
- 3:38 AM
- 03 oc239oc3' AM, Eastern Daylight Time
- 3:38 AM, EDT
- 02026.October.23 AD 03:38 AM
- Fri, 23 Oct 2026 03:38:09 -0400
- 261023073809+0000