UA 377 then CA 8414 at O'Hare
Denver → Chicago → Shanghai
Timetable, Chicago time
23:59UA 377 from Denver at the gate
23:15CA 8414 to Shanghai leaves the gate
23 h 16 apart on the timetable, overnight
CA 8414 leaves 23 h 16 after UA 377 arrives on the timetable: more than half a day, so not a connection we count.