CM 2458 then UA 436 at San Francisco
Sacramento → San Francisco → Ontario
Timetable, San Francisco time
18:57CM 2458 from Sacramento at the gate
16:35UA 436 to Ontario leaves the gate
21 h 38 apart on the timetable, overnight
UA 436 leaves 21 h 38 after CM 2458 arrives on the timetable: more than half a day, so not a connection we count.