WN 2587 then WN 1037 at Denver
Salt Lake City → Denver → Phoenix Sky Harbor
Timetable, Denver time
09:50WN 2587 from Salt Lake City at the gate
06:00WN 1037 to Phoenix Sky Harbor leaves the gate
20 h 10 apart on the timetable, overnight
WN 1037 leaves 20 h 10 after WN 2587 arrives on the timetable: more than half a day, so not a connection we count.