DateTimeFormat Example
Today's date and time are {ts '2026-10-08 17:55:14'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 08-Oct-2026 17:55:14
- 2026.10.08 AD 'P' 17:55:14 EDT
- Thu, Oct 8, '26
- 5:55 PM
- 05 oc904oc17' PM, Eastern Daylight Time
- 5:55 PM, EDT
- 02026.October.08 AD 05:55 PM
- Thu, 8 Oct 2026 17:55:14 -0400
- 261008215514+0000