UA 2258 then CA 1018 at O'Hare
Denver → Chicago → Shanghai
Timetable, Chicago time
22:46UA 2258 from Denver at the gate
22:35CA 1018 to Shanghai leaves the gate
23 h 49 apart on the timetable, overnight
CA 1018 leaves 23 h 49 after UA 2258 arrives on the timetable: more than half a day, so not a connection we count.