DateTimeFormat Example
Today's date and time are {ts '2026-08-10 06:25:02'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 10-Aug-2026 06:25:02
- 2026.08.10 AD 'A' 06:25:02 EDT
- Mon, Aug 10, '26
- 6:25 AM
- 06 oc187oc6' AM, Eastern Daylight Time
- 6:25 AM, EDT
- 02026.August.10 AD 06:25 AM
- Mon, 10 Aug 2026 06:25:02 -0400
- 260810102502+0000