AA 317 then CK 626 at O'Hare
Denver → Chicago → Shanghai
Timetable, Chicago time
10:04AA 317 from Denver at the gate
00:01CK 626 to Shanghai leaves the gate
13 h 57 apart on the timetable, overnight
CK 626 leaves 13 h 57 after AA 317 arrives on the timetable: more than half a day, so not a connection we count.