UA 225 then UA 5875 at San Francisco
Philadelphia → San Francisco → Bakersfield
Timetable, San Francisco time
21:43UA 225 from Philadelphia at the gatealso VA 8238, NZ 9366
21:31UA 5875 to Bakersfield leaves the gatealso NZ 9158
23 h 48 apart on the timetable, overnight
UA 5875 leaves 23 h 48 after UA 225 arrives on the timetable: more than half a day, so not a connection we count.