UA 3909 then UA 1145 at San Francisco
Houston → San Francisco → Cancún
Timetable, San Francisco time
07:17UA 3909 from Houston at the gate
23:00UA 1145 to Cancún leaves the gate
15 h 43 apart on the timetable
UA 1145 leaves 15 h 43 after UA 3909 arrives on the timetable: more than half a day, so not a connection we count.