DateTimeFormat Example
Today's date and time are {ts '2026-05-06 06:34:19'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 06-May-2026 06:34:19
- 2026.05.06 AD 'A' 06:34:19 EDT
- Wed, May 6, '26
- 6:34 AM
- 06 oc947oc6' AM, Eastern Daylight Time
- 6:34 AM, EDT
- 02026.May.06 AD 06:34 AM
- Wed, 6 May 2026 06:34:19 -0400
- 260506103419+0000