LH 9225 then UA 5627 at San Francisco
Sacramento → San Francisco → Monterey
Timetable, San Francisco time
18:57LH 9225 from Sacramento at the gate
18:26UA 5627 to Monterey leaves the gatealso LH 8824
23 h 29 apart on the timetable, overnight
UA 5627 leaves 23 h 29 after LH 9225 arrives on the timetable: more than half a day, so not a connection we count.