CM 2458 then WN 4065 at San Francisco
Sacramento → San Francisco → San Diego
Timetable, San Francisco time
20:00CM 2458 from Sacramento at the gate
19:45WN 4065 to San Diego leaves the gate
23 h 45 apart on the timetable, overnight
WN 4065 leaves 23 h 45 after CM 2458 arrives on the timetable: more than half a day, so not a connection we count.