AA 2253 then CK 226 at O'Hare
San Francisco → Chicago → Shanghai
Timetable, Chicago time
23:55AA 2253 from San Francisco at the gate
19:50CK 226 to Shanghai leaves the gate
19 h 55 apart on the timetable, overnight
CK 226 leaves 19 h 55 after AA 2253 arrives on the timetable: more than half a day, so not a connection we count.