WN 585 then WN 1822 at Denver
Phoenix Sky Harbor → Denver → Sacramento
Timetable, Denver time
17:15WN 585 from Phoenix Sky Harbor at the gate
16:50WN 1822 to Sacramento leaves the gate
23 h 35 apart on the timetable, overnight
WN 1822 leaves 23 h 35 after WN 585 arrives on the timetable: more than half a day, so not a connection we count.