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