QR 31 then UA 5827 at O'Hare
Milan → Chicago → Washington National
Timetable, Chicago time
17:18QR 31 from Milan at the gate
17:00UA 5827 to Washington National leaves the gate
23 h 42 apart on the timetable, overnight
UA 5827 leaves 23 h 42 after QR 31 arrives on the timetable: more than half a day, so not a connection we count.