DateTimeFormat Example
Today's date and time are {ts '2026-06-29 12:55:29'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 29-Jun-2026 12:55:29
- 2026.06.29 AD 'P' 12:55:29 EDT
- Mon, Jun 29, '26
- 12:55 PM
- 12 oc883oc12' PM, Eastern Daylight Time
- 0:55 PM, EDT
- 02026.June.29 AD 12:55 PM
- Mon, 29 Jun 2026 12:55:29 -0400
- 260629165529+0000