WN 1640 then WN 1822 at Denver
Tucson → Denver → Sacramento
Timetable, Denver time
17:05WN 1640 from Tucson at the gate
16:50WN 1822 to Sacramento leaves the gate
23 h 45 apart on the timetable, overnight
WN 1822 leaves 23 h 45 after WN 1640 arrives on the timetable: more than half a day, so not a connection we count.