DateTimeFormat Example
Today's date and time are {ts '2026-08-09 01:44:02'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 09-Aug-2026 01:44:02
- 2026.08.09 AD 'A' 01:44:02 EDT
- Sun, Aug 9, '26
- 1:44 AM
- 01 oc869oc1' AM, Eastern Daylight Time
- 1:44 AM, EDT
- 02026.August.09 AD 01:44 AM
- Sun, 9 Aug 2026 01:44:02 -0400
- 260809054402+0000