UA 582 then B6 316 at San Francisco
Boston → San Francisco → New York JFK
Timetable, San Francisco time
11:54UA 582 from Boston at the gatealso CA 7223
08:05B6 316 to New York JFK leaves the gatealso LO 5774, EY 8328, AT 9559
20 h 11 apart on the timetable, overnight
B6 316 leaves 20 h 11 after UA 582 arrives on the timetable: more than half a day, so not a connection we count.