AA 9950 then UA 786 at O'Hare
Philadelphia → Chicago → Raleigh-Durham
Timetable, Chicago time
13:49AA 9950 from Philadelphia at the gate
12:50UA 786 to Raleigh-Durham leaves the gate
23 h 01 apart on the timetable, overnight
UA 786 leaves 23 h 01 after AA 9950 arrives on the timetable: more than half a day, so not a connection we count.