JU 8510 then UA 6012 at San Francisco
New York JFK → San Francisco → Monterey
Timetable, San Francisco time
23:54JU 8510 from New York JFK at the gate
22:50UA 6012 to Monterey leaves the gatealso LH 7974
22 h 56 apart on the timetable, overnight
UA 6012 leaves 22 h 56 after JU 8510 arrives on the timetable: more than half a day, so not a connection we count.