WN 2794 then KQ 7267 at San Francisco
San Diego → San Francisco → New York JFK
Timetable, San Francisco time
11:05WN 2794 from San Diego at the gate
10:25KQ 7267 to New York JFK leaves the gatealso BA 8384
23 h 20 apart on the timetable, overnight
KQ 7267 leaves 23 h 20 after WN 2794 arrives on the timetable: more than half a day, so not a connection we count.