DL 1940 then WN 988 at Denver
Chicago O'Hare → Denver → Buffalo
Timetable, Denver time
15:00DL 1940 from Chicago O'Hare at the gate
11:50WN 988 to Buffalo leaves the gate
20 h 50 apart on the timetable, overnight
WN 988 leaves 20 h 50 after DL 1940 arrives on the timetable: more than half a day, so not a connection we count.