UA 1277 then WN 2635 at LAX
Cancún → Los Angeles → Sacramento
Timetable, Los Angeles time
20:02UA 1277 from Cancún at the gate
19:25WN 2635 to Sacramento leaves the gate
23 h 23 apart on the timetable, overnight
WN 2635 leaves 23 h 23 after UA 1277 arrives on the timetable: more than half a day, so not a connection we count.