AA 3790 then CA 8414 at O'Hare
Dallas-Fort Worth → Chicago → Shanghai
Timetable, Chicago time
23:00AA 3790 from Dallas-Fort Worth at the gate
20:45CA 8414 to Shanghai leaves the gate
21 h 45 apart on the timetable, overnight
CA 8414 leaves 21 h 45 after AA 3790 arrives on the timetable: more than half a day, so not a connection we count.