DateTimeFormat Example
Today's date and time are {ts '2026-02-25 20:35:07'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 25-Feb-2026 20:35:07
- 2026.02.25 AD 'P' 20:35:07 EST
- Wed, Feb 25, '26
- 8:35 PM
- 08 oc449oc20' PM, Eastern Standard Time
- 8:35 PM, EST
- 02026.February.25 AD 08:35 PM
- Wed, 25 Feb 2026 20:35:07 -0500
- 260226013507+0000