AA 3111 then UA 5615 at O'Hare
St Louis → Chicago → Albany (New York)
Timetable, Chicago time
13:00AA 3111 from St Louis at the gate
11:59UA 5615 to Albany (New York) leaves the gate
22 h 59 apart on the timetable, overnight
UA 5615 leaves 22 h 59 after AA 3111 arrives on the timetable: more than half a day, so not a connection we count.