UA 370 then CA 1018 at O'Hare
Phoenix → Chicago → Shanghai
Timetable, Chicago time
22:58UA 370 from Phoenix at the gate
18:40CA 1018 to Shanghai leaves the gate
19 h 42 apart on the timetable, overnight
CA 1018 leaves 19 h 42 after UA 370 arrives on the timetable: more than half a day, so not a connection we count.