DateTimeFormat Example
Today's date and time are {ts '2026-05-04 07:00:37'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 04-May-2026 07:00:37
- 2026.05.04 AD 'A' 07:00:37 EDT
- Mon, May 4, '26
- 7:00 AM
- 07 oc813oc7' AM, Eastern Daylight Time
- 7:00 AM, EDT
- 02026.May.04 AD 07:00 AM
- Mon, 4 May 2026 07:00:37 -0400
- 260504110037+0000