UA 794 then QR 8796 at San Francisco
Newark → San Francisco → San Diego
Timetable, San Francisco time
18:33UA 794 from Newark at the gatealso VA 8577, NZ 9125
11:53QR 8796 to San Diego leaves the gate
17 h 20 apart on the timetable, overnight
QR 8796 leaves 17 h 20 after UA 794 arrives on the timetable: more than half a day, so not a connection we count.