AA 2917 then QR 76 at O'Hare
Miami → Chicago → Milan
Timetable, Chicago time
18:23AA 2917 from Miami at the gate
14:45QR 76 to Milan leaves the gate
20 h 22 apart on the timetable, overnight
QR 76 leaves 20 h 22 after AA 2917 arrives on the timetable: more than half a day, so not a connection we count.