CM 1440 then UA 2397 at San Francisco
Santa Barbara → San Francisco → Sacramento
Timetable, San Francisco time
20:00CM 1440 from Santa Barbara at the gate
18:45UA 2397 to Sacramento leaves the gate
22 h 45 apart on the timetable, overnight
UA 2397 leaves 22 h 45 after CM 1440 arrives on the timetable: more than half a day, so not a connection we count.