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