CM 2458 then UA 3911 at San Francisco
Sacramento → San Francisco → Denver
Timetable, San Francisco time
20:00CM 2458 from Sacramento at the gate
17:00UA 3911 to Denver leaves the gate
21 h apart on the timetable, overnight
UA 3911 leaves 21 h after CM 2458 arrives on the timetable: more than half a day, so not a connection we count.