WN 757 then UA 731 at Denver
Cleveland → Denver → Buffalo
Timetable, Denver time
18:45WN 757 from Cleveland at the gate
17:25UA 731 to Buffalo leaves the gate
22 h 40 apart on the timetable, overnight
UA 731 leaves 22 h 40 after WN 757 arrives on the timetable: more than half a day, so not a connection we count.