UA 1159 then UA 3917 at San Francisco
Cancún → San Francisco → Las Vegas
Timetable, San Francisco time
19:17UA 1159 from Cancún at the gate
16:45UA 3917 to Las Vegas leaves the gate
21 h 28 apart on the timetable, overnight
UA 3917 leaves 21 h 28 after UA 1159 arrives on the timetable: more than half a day, so not a connection we count.