DateTimeFormat Example
Today's date and time are {ts '2026-04-29 07:09:38'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 29-Apr-2026 07:09:38
- 2026.04.29 AD 'A' 07:09:38 EDT
- Wed, Apr 29, '26
- 7:09 AM
- 07 oc711oc7' AM, Eastern Daylight Time
- 7:09 AM, EDT
- 02026.April.29 AD 07:09 AM
- Wed, 29 Apr 2026 07:09:38 -0400
- 260429110938+0000