UA 5840 then CZ 436 at O'Hare
Appleton → Chicago → Shanghai
Timetable, Chicago time
07:51UA 5840 from Appleton at the gate
00:30CZ 436 to Shanghai leaves the gate
16 h 39 apart on the timetable, overnight
CZ 436 leaves 16 h 39 after UA 5840 arrives on the timetable: more than half a day, so not a connection we count.