CM 2458 then UA 8219 at San Francisco
Sacramento → San Francisco → Chicago O'Hare
Timetable, San Francisco time
20:00CM 2458 from Sacramento at the gate
18:10UA 8219 to Chicago O'Hare leaves the gate
22 h 10 apart on the timetable, overnight
UA 8219 leaves 22 h 10 after CM 2458 arrives on the timetable: more than half a day, so not a connection we count.