UA 5599 then CM 2440 at San Francisco
Carlsbad → San Francisco → Fresno
Timetable, San Francisco time
15:30UA 5599 from Carlsbad at the gate
08:24CM 2440 to Fresno leaves the gatealso UA 4679
16 h 54 apart on the timetable, overnight
CM 2440 leaves 16 h 54 after UA 5599 arrives on the timetable: more than half a day, so not a connection we count.