DateTimeFormat Example
Today's date and time are {ts '2026-10-11 17:53:06'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 11-Oct-2026 17:53:06
- 2026.10.11 AD 'P' 17:53:06 EDT
- Sun, Oct 11, '26
- 5:53 PM
- 05 oc110oc17' PM, Eastern Daylight Time
- 5:53 PM, EDT
- 02026.October.11 AD 05:53 PM
- Sun, 11 Oct 2026 17:53:06 -0400
- 261011215306+0000