UA 1777 then QF 4864 at San Francisco
Newark → San Francisco → Phoenix
Timetable, San Francisco time
12:27UA 1777 from Newark at the gatealso VA 8165, NZ 9131
05:50QF 4864 to Phoenix leaves the gate
17 h 23 apart on the timetable, overnight
QF 4864 leaves 17 h 23 after UA 1777 arrives on the timetable: more than half a day, so not a connection we count.