AA 6486 then AA 597 at O'Hare
Detroit → Chicago → San Francisco
Timetable, Chicago time
17:29AA 6486 from Detroit at the gate
13:24AA 597 to San Francisco leaves the gate
19 h 55 apart on the timetable, overnight
AA 597 leaves 19 h 55 after AA 6486 arrives on the timetable: more than half a day, so not a connection we count.