UA 1239 then CA 3104 at O'Hare
San Jose (California) → Chicago → Shanghai
Timetable, Chicago time
12:54UA 1239 from San Jose (California) at the gate
11:40CA 3104 to Shanghai leaves the gate
22 h 46 apart on the timetable, overnight
CA 3104 leaves 22 h 46 after UA 1239 arrives on the timetable: more than half a day, so not a connection we count.