NZ 9675 then UA 5875 at San Francisco
Sacramento → San Francisco → Bakersfield
Timetable, San Francisco time
21:41NZ 9675 from Sacramento at the gate
21:31UA 5875 to Bakersfield leaves the gatealso NZ 9158
23 h 50 apart on the timetable, overnight
UA 5875 leaves 23 h 50 after NZ 9675 arrives on the timetable: more than half a day, so not a connection we count.