UA 1341 then UA 5627 at San Francisco
Detroit → San Francisco → Monterey
Timetable, San Francisco time
19:31UA 1341 from Detroit at the gatealso OZ 9538
18:26UA 5627 to Monterey leaves the gatealso LH 8824
22 h 55 apart on the timetable, overnight
UA 5627 leaves 22 h 55 after UA 1341 arrives on the timetable: more than half a day, so not a connection we count.