UA 1136 then WN 1817 at Denver
Cancún → Denver → San Francisco
Timetable, Denver time
17:48UA 1136 from Cancún at the gate
17:35WN 1817 to San Francisco leaves the gate
23 h 47 apart on the timetable, overnight
WN 1817 leaves 23 h 47 after UA 1136 arrives on the timetable: more than half a day, so not a connection we count.