JU 8510 then QF 4397 at San Francisco
New York JFK → San Francisco → Philadelphia
Timetable, San Francisco time
23:54JU 8510 from New York JFK at the gate
22:58QF 4397 to Philadelphia leaves the gate
23 h 04 apart on the timetable, overnight
QF 4397 leaves 23 h 04 after JU 8510 arrives on the timetable: more than half a day, so not a connection we count.