UA 5221 then WN 1674 at Denver
Amarillo → Denver → Kansas City
Timetable, Denver time
08:24UA 5221 from Amarillo at the gate
08:20WN 1674 to Kansas City leaves the gate
23 h 56 apart on the timetable, overnight
WN 1674 leaves 23 h 56 after UA 5221 arrives on the timetable: more than half a day, so not a connection we count.