UA 638 then CM 2440 at San Francisco
Chicago O'Hare → San Francisco → Fresno
Timetable, San Francisco time
15:35UA 638 from Chicago O'Hare at the gatealso AC 4116
08:24CM 2440 to Fresno leaves the gatealso AC 4348, UA 4679
16 h 49 apart on the timetable, overnight
CM 2440 leaves 16 h 49 after UA 638 arrives on the timetable: more than half a day, so not a connection we count.