DL 2919 then UA 1145 at San Francisco
Boston → San Francisco → Cancún
Timetable, San Francisco time
23:58DL 2919 from Boston at the gatealso SK 3585, AF 3726
23:00UA 1145 to Cancún leaves the gate
23 h 02 apart on the timetable, overnight
UA 1145 leaves 23 h 02 after DL 2919 arrives on the timetable: more than half a day, so not a connection we count.