UA 2865 then WN 1037 at Denver
Santa Barbara → Denver → Phoenix Sky Harbor
Timetable, Denver time
08:28UA 2865 from Santa Barbara at the gate
06:00WN 1037 to Phoenix Sky Harbor leaves the gate
21 h 32 apart on the timetable, overnight
WN 1037 leaves 21 h 32 after UA 2865 arrives on the timetable: more than half a day, so not a connection we count.