DateTimeFormat Example
Today's date and time are {ts '2026-10-07 17:41:51'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 07-Oct-2026 17:41:51
- 2026.10.07 AD 'P' 17:41:51 EDT
- Wed, Oct 7, '26
- 5:41 PM
- 05 oc52oc17' PM, Eastern Daylight Time
- 5:41 PM, EDT
- 02026.October.07 AD 05:41 PM
- Wed, 7 Oct 2026 17:41:51 -0400
- 261007214151+0000