UA 401 then WN 988 at Denver
Minneapolis → Denver → Buffalo
Timetable, Denver time
12:38UA 401 from Minneapolis at the gate
11:50WN 988 to Buffalo leaves the gate
23 h 12 apart on the timetable, overnight
WN 988 leaves 23 h 12 after UA 401 arrives on the timetable: more than half a day, so not a connection we count.