AA 317 then ET 3511 at O'Hare
Denver → Chicago → Muscat
Timetable, Chicago time
10:04AA 317 from Denver at the gate
09:05ET 3511 to Muscat leaves the gate
23 h 01 apart on the timetable, overnight
ET 3511 leaves 23 h 01 after AA 317 arrives on the timetable: more than half a day, so not a connection we count.