WN 995 then UA 2040 at Denver
Baltimore → Denver → Raleigh-Durham
Timetable, Denver time
17:35WN 995 from Baltimore at the gate
16:18UA 2040 to Raleigh-Durham leaves the gate
22 h 43 apart on the timetable, overnight
UA 2040 leaves 22 h 43 after WN 995 arrives on the timetable: more than half a day, so not a connection we count.