WN 4626 then UA 4797 at Denver
Nashville → Denver → Casper
Timetable, Denver time
18:00WN 4626 from Nashville at the gate
13:25UA 4797 to Casper leaves the gate
19 h 25 apart on the timetable, overnight
UA 4797 leaves 19 h 25 after WN 4626 arrives on the timetable: more than half a day, so not a connection we count.