UA 5017 then QR 76 at O'Hare
Hancock → Chicago → Milan
Timetable, Chicago time
16:00UA 5017 from Hancock at the gate
09:10QR 76 to Milan leaves the gate
17 h 10 apart on the timetable, overnight
QR 76 leaves 17 h 10 after UA 5017 arrives on the timetable: more than half a day, so not a connection we count.