DateTimeFormat Example
Today's date and time are {ts '2026-05-29 12:16:06'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 29-May-2026 12:16:06
- 2026.05.29 AD 'P' 12:16:06 EDT
- Fri, May 29, '26
- 12:16 PM
- 12 oc930oc12' PM, Eastern Daylight Time
- 0:16 PM, EDT
- 02026.May.29 AD 12:16 PM
- Fri, 29 May 2026 12:16:06 -0400
- 260529161606+0000