UA 5928 then UA 5627 at San Francisco
Omaha → San Francisco → Monterey
Timetable, San Francisco time
17:40UA 5928 from Omaha at the gate
16:20UA 5627 to Monterey leaves the gatealso LH 8824
22 h 40 apart on the timetable, overnight
UA 5627 leaves 22 h 40 after UA 5928 arrives on the timetable: more than half a day, so not a connection we count.