DL 1716 then AA 4038 at O'Hare
Detroit → Chicago → Madison
Timetable, Chicago time
13:59DL 1716 from Detroit at the gate
13:49AA 4038 to Madison leaves the gate
23 h 50 apart on the timetable, overnight
AA 4038 leaves 23 h 50 after DL 1716 arrives on the timetable: more than half a day, so not a connection we count.