UA 3501 then Y8 7456 at O'Hare
Detroit → Chicago → Shanghai
Timetable, Chicago time
06:57UA 3501 from Detroit at the gate
01:35Y8 7456 to Shanghai leaves the gate
18 h 38 apart on the timetable, overnight
Y8 7456 leaves 18 h 38 after UA 3501 arrives on the timetable: more than half a day, so not a connection we count.