UA 3501 then AA 4780 at O'Hare
Kansas City → Chicago → Buffalo
Timetable, Chicago time
17:05UA 3501 from Kansas City at the gate
08:00AA 4780 to Buffalo leaves the gate
14 h 55 apart on the timetable, overnight
AA 4780 leaves 14 h 55 after UA 3501 arrives on the timetable: more than half a day, so not a connection we count.