DateTimeFormat Example
Today's date and time are {ts '2026-10-27 03:33:16'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 27-Oct-2026 03:33:16
- 2026.10.27 AD 'A' 03:33:16 EDT
- Tue, Oct 27, '26
- 3:33 AM
- 03 oc531oc3' AM, Eastern Daylight Time
- 3:33 AM, EDT
- 02026.October.27 AD 03:33 AM
- Tue, 27 Oct 2026 03:33:16 -0400
- 261027073316+0000