DateTimeFormat Example
Today's date and time are {ts '2026-08-26 00:54:35'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 26-Aug-2026 00:54:35
- 2026.08.26 AD 'A' 00:54:35 EDT
- Wed, Aug 26, '26
- 12:54 AM
- 12 oc691oc24' AM, Eastern Daylight Time
- 0:54 AM, EDT
- 02026.August.26 AD 12:54 AM
- Wed, 26 Aug 2026 00:54:35 -0400
- 260826045435+0000