DateTimeFormat Example
Today's date and time are {ts '2026-03-12 15:08:19'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 12-Mar-2026 15:08:19
- 2026.03.12 AD 'P' 15:08:19 EDT
- Thu, Mar 12, '26
- 3:08 PM
- 03 oc440oc15' PM, Eastern Daylight Time
- 3:08 PM, EDT
- 02026.March.12 AD 03:08 PM
- Thu, 12 Mar 2026 15:08:19 -0400
- 260312190819+0000