WN 4187 then WN 3096 at Phoenix
St Louis → Phoenix → Denver
Timetable, Phoenix time
14:35WN 4187 from St Louis at the gate
12:40WN 3096 to Denver leaves the gate
22 h 05 apart on the timetable, overnight
WN 3096 leaves 22 h 05 after WN 4187 arrives on the timetable: more than half a day, so not a connection we count.