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