WN 995 then UA 1894 at Denver
Baltimore → Denver → Madison
Timetable, Denver time
17:35WN 995 from Baltimore at the gate
17:33UA 1894 to Madison leaves the gate
23 h 58 apart on the timetable, overnight
UA 1894 leaves 23 h 58 after WN 995 arrives on the timetable: more than half a day, so not a connection we count.