UA 3501 then AA 2905 at O'Hare
Detroit → Chicago → San Francisco
Timetable, Chicago time
06:57UA 3501 from Detroit at the gate
20:56AA 2905 to San Francisco leaves the gate
13 h 59 apart on the timetable
AA 2905 leaves 13 h 59 after UA 3501 arrives on the timetable: more than half a day, so not a connection we count.