NH 7007 then B6 316 at San Francisco
Newark → San Francisco → New York JFK
Timetable, San Francisco time
09:30NH 7007 from Newark at the gate
08:05B6 316 to New York JFK leaves the gatealso LO 5774, EY 8328, AT 9559
22 h 35 apart on the timetable, overnight
B6 316 leaves 22 h 35 after NH 7007 arrives on the timetable: more than half a day, so not a connection we count.