DateTimeFormat Example
Today's date and time are {ts '2026-03-03 16:32:18'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 03-Mar-2026 16:32:18
- 2026.03.03 AD 'P' 16:32:18 EST
- Tue, Mar 3, '26
- 4:32 PM
- 04 oc649oc16' PM, Eastern Standard Time
- 4:32 PM, EST
- 02026.March.03 AD 04:32 PM
- Tue, 3 Mar 2026 16:32:18 -0500
- 260303213218+0000