DateTimeFormat Example
Today's date and time are {ts '2026-07-13 09:55:29'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 13-Jul-2026 09:55:29
- 2026.07.13 AD 'A' 09:55:29 EDT
- Mon, Jul 13, '26
- 9:55 AM
- 09 oc127oc9' AM, Eastern Daylight Time
- 9:55 AM, EDT
- 02026.July.13 AD 09:55 AM
- Mon, 13 Jul 2026 09:55:29 -0400
- 260713135529+0000