UA 1180 then B6 316 at San Francisco
Newark → San Francisco → New York JFK
Timetable, San Francisco time
10:27UA 1180 from Newark at the gatealso VA 8163, NZ 9130
08:05B6 316 to New York JFK leaves the gatealso LO 5774, EY 8328, AT 9559
21 h 38 apart on the timetable, overnight
B6 316 leaves 21 h 38 after UA 1180 arrives on the timetable: more than half a day, so not a connection we count.