WN 2509 then UA 4797 at Denver
Omaha → Denver → Casper
Timetable, Denver time
14:15WN 2509 from Omaha at the gate
13:25UA 4797 to Casper leaves the gate
23 h 10 apart on the timetable, overnight
UA 4797 leaves 23 h 10 after WN 2509 arrives on the timetable: more than half a day, so not a connection we count.