UA 1766 then B6 316 at San Francisco
Santa Ana → San Francisco → New York JFK
Timetable, San Francisco time
08:34UA 1766 from Santa Ana at the gatealso AC 4134, NH 7367, VA 8529
08:05B6 316 to New York JFK leaves the gatealso LO 5774, EY 8328, AT 9559
23 h 31 apart on the timetable, overnight
B6 316 leaves 23 h 31 after UA 1766 arrives on the timetable: more than half a day, so not a connection we count.