DateTimeFormat Example
Today's date and time are {ts '2026-06-25 14:51:37'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 25-Jun-2026 14:51:37
- 2026.06.25 AD 'P' 14:51:37 EDT
- Thu, Jun 25, '26
- 2:51 PM
- 02 oc862oc14' PM, Eastern Daylight Time
- 2:51 PM, EDT
- 02026.June.25 AD 02:51 PM
- Thu, 25 Jun 2026 14:51:37 -0400
- 260625185137+0000