UA 638 then AV 2066 at San Francisco
Chicago O'Hare → San Francisco → Sacramento
Timetable, San Francisco time
15:35UA 638 from Chicago O'Hare at the gatealso AC 4116
08:30AV 2066 to Sacramento leaves the gate
16 h 55 apart on the timetable, overnight
AV 2066 leaves 16 h 55 after UA 638 arrives on the timetable: more than half a day, so not a connection we count.