B6 616 then B6 986 at JFK
San Francisco → New York → Rochester
Timetable, New York time
08:30B6 616 from San Francisco at the gate
08:29B6 986 to Rochester leaves the gate
23 h 59 apart on the timetable, overnight
B6 986 leaves 23 h 59 after B6 616 arrives on the timetable: more than half a day, so not a connection we count.