UA 1341 then BA 1782 at San Francisco
Detroit → San Francisco → Chicago O'Hare
Timetable, San Francisco time
19:31UA 1341 from Detroit at the gatealso OZ 9538
14:18BA 1782 to Chicago O'Hare leaves the gatealso AA 1948, AY 4140
18 h 47 apart on the timetable, overnight
BA 1782 leaves 18 h 47 after UA 1341 arrives on the timetable: more than half a day, so not a connection we count.