CM 2458 then BA 6428 at San Francisco
Sacramento → San Francisco → San Diego
Timetable, San Francisco time
18:57CM 2458 from Sacramento at the gate
17:00BA 6428 to San Diego leaves the gate
22 h 03 apart on the timetable, overnight
BA 6428 leaves 22 h 03 after CM 2458 arrives on the timetable: more than half a day, so not a connection we count.