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