AA 1007 then UA 2440 at O'Hare
Charlotte Amalie → Chicago → Detroit
Timetable, Chicago time
20:00AA 1007 from Charlotte Amalie at the gate
17:59UA 2440 to Detroit leaves the gate
21 h 59 apart on the timetable, overnight
UA 2440 leaves 21 h 59 after AA 1007 arrives on the timetable: more than half a day, so not a connection we count.