DateTimeFormat Example
Today's date and time are {ts '2026-03-04 16:11:55'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 04-Mar-2026 16:11:55
- 2026.03.04 AD 'P' 16:11:55 EST
- Wed, Mar 4, '26
- 4:11 PM
- 04 oc173oc16' PM, Eastern Standard Time
- 4:11 PM, EST
- 02026.March.04 AD 04:11 PM
- Wed, 4 Mar 2026 16:11:55 -0500
- 260304211155+0000