UA 5804 then ET 3511 at O'Hare
Milwaukee → Chicago → Muscat
Timetable, Chicago time
10:45UA 5804 from Milwaukee at the gate
09:05ET 3511 to Muscat leaves the gate
22 h 20 apart on the timetable, overnight
ET 3511 leaves 22 h 20 after UA 5804 arrives on the timetable: more than half a day, so not a connection we count.