UA 571 then B6 316 at San Francisco
Atlanta → San Francisco → New York JFK
Timetable, San Francisco time
09:29UA 571 from Atlanta at the gatealso CA 7243, VA 8403, NZ 9005
09:06B6 316 to New York JFK leaves the gatealso EY 8328, JU 8514, AT 9559
23 h 37 apart on the timetable, overnight
B6 316 leaves 23 h 37 after UA 571 arrives on the timetable: more than half a day, so not a connection we count.