DateTimeFormat Example
Today's date and time are {ts '2026-03-28 14:49:55'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 28-Mar-2026 14:49:55
- 2026.03.28 AD 'P' 14:49:55 EDT
- Sat, Mar 28, '26
- 2:49 PM
- 02 oc408oc14' PM, Eastern Daylight Time
- 2:49 PM, EDT
- 02026.March.28 AD 02:49 PM
- Sat, 28 Mar 2026 14:49:55 -0400
- 260328184955+0000