DateTimeFormat Example
Today's date and time are {ts '2026-08-27 00:45:49'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 27-Aug-2026 00:45:49
- 2026.08.27 AD 'A' 00:45:49 EDT
- Thu, Aug 27, '26
- 12:45 AM
- 12 oc339oc24' AM, Eastern Daylight Time
- 0:45 AM, EDT
- 02026.August.27 AD 12:45 AM
- Thu, 27 Aug 2026 00:45:49 -0400
- 260827044549+0000