WN 864 then UA 5294 at Denver
Burbank → Denver → Casper
Timetable, Denver time
16:30WN 864 from Burbank at the gate
16:05UA 5294 to Casper leaves the gate
23 h 35 apart on the timetable, overnight
UA 5294 leaves 23 h 35 after WN 864 arrives on the timetable: more than half a day, so not a connection we count.