UA 794 then NZ 9584 at San Francisco
Newark → San Francisco → San Diego
Timetable, San Francisco time
18:33UA 794 from Newark at the gatealso VA 8577, NZ 9125
08:30NZ 9584 to San Diego leaves the gate
13 h 57 apart on the timetable, overnight
NZ 9584 leaves 13 h 57 after UA 794 arrives on the timetable: more than half a day, so not a connection we count.