DateTimeFormat Example
Today's date and time are {ts '2026-04-13 14:40:03'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 13-Apr-2026 14:40:03
- 2026.04.13 AD 'P' 14:40:03 EDT
- Mon, Apr 13, '26
- 2:40 PM
- 02 oc844oc14' PM, Eastern Daylight Time
- 2:40 PM, EDT
- 02026.April.13 AD 02:40 PM
- Mon, 13 Apr 2026 14:40:03 -0400
- 260413184003+0000