DateTimeFormat Example
Today's date and time are {ts '2026-12-04 20:29:53'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 04-Dec-2026 20:29:53
- 2026.12.04 AD 'P' 20:29:53 EST
- Fri, Dec 4, '26
- 8:29 PM
- 08 oc31oc20' PM, Eastern Standard Time
- 8:29 PM, EST
- 02026.December.04 AD 08:29 PM
- Fri, 4 Dec 2026 20:29:53 -0500
- 261205012953+0000