UA 2225 then QR 8796 at San Francisco
Philadelphia → San Francisco → San Diego
Timetable, San Francisco time
12:32UA 2225 from Philadelphia at the gatealso NZ 9367
11:53QR 8796 to San Diego leaves the gate
23 h 21 apart on the timetable, overnight
QR 8796 leaves 23 h 21 after UA 2225 arrives on the timetable: more than half a day, so not a connection we count.