QF 3657 then AM 665 at San Francisco
New York JFK → San Francisco → Mexico City
Timetable, San Francisco time
23:59QF 3657 from New York JFK at the gate
22:23AM 665 to Mexico City leaves the gatealso WS 5764, WS 5776, WS 6160, DL 8039, SK 9503
22 h 24 apart on the timetable, overnight
AM 665 leaves 22 h 24 after QF 3657 arrives on the timetable: more than half a day, so not a connection we count.