UA 2754 then UA 817 at San Francisco
Minneapolis → San Francisco → Mexico City
Timetable, San Francisco time
19:33UA 2754 from Minneapolis at the gatealso OZ 6312, VA 8253, NZ 9438
13:14UA 817 to Mexico City leaves the gatealso AC 5402, NH 7368, NZ 9823
17 h 41 apart on the timetable, overnight
UA 817 leaves 17 h 41 after UA 2754 arrives on the timetable: more than half a day, so not a connection we count.