UA 1777 then UA 3906 at San Francisco
Newark → San Francisco → Newark
Timetable, San Francisco time
12:27UA 1777 from Newark at the gatealso VA 8165, NZ 9131
07:00UA 3906 to Newark leaves the gate
18 h 33 apart on the timetable, overnight
UA 3906 leaves 18 h 33 after UA 1777 arrives on the timetable: more than half a day, so not a connection we count.