DateTimeFormat Example
Today's date and time are {ts '2026-10-18 17:36:56'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 18-Oct-2026 17:36:56
- 2026.10.18 AD 'P' 17:36:56 EDT
- Sun, Oct 18, '26
- 5:36 PM
- 05 oc357oc17' PM, Eastern Daylight Time
- 5:36 PM, EDT
- 02026.October.18 AD 05:36 PM
- Sun, 18 Oct 2026 17:36:56 -0400
- 261018213656+0000