UA 563 then CK 226 at O'Hare
Boston → Chicago → Shanghai
Timetable, Chicago time
19:05UA 563 from Boston at the gate
14:09CK 226 to Shanghai leaves the gate
19 h 04 apart on the timetable, overnight
CK 226 leaves 19 h 04 after UA 563 arrives on the timetable: more than half a day, so not a connection we count.