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