EK 6345 then QF 3654 at San Francisco
San Diego → San Francisco → New York JFK
Timetable, San Francisco time
13:07EK 6345 from San Diego at the gate
07:00QF 3654 to New York JFK leaves the gate
17 h 53 apart on the timetable, overnight
QF 3654 leaves 17 h 53 after EK 6345 arrives on the timetable: more than half a day, so not a connection we count.