DateTimeFormat Example
Today's date and time are {ts '2026-08-19 08:03:01'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 19-Aug-2026 08:03:01
- 2026.08.19 AD 'A' 08:03:01 EDT
- Wed, Aug 19, '26
- 8:03 AM
- 08 oc444oc8' AM, Eastern Daylight Time
- 8:03 AM, EDT
- 02026.August.19 AD 08:03 AM
- Wed, 19 Aug 2026 08:03:01 -0400
- 260819120301+0000