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