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