UA 3901 then NZ 9105 at San Francisco
Hong Kong → San Francisco → Newark
Timetable, San Francisco time
16:34UA 3901 from Hong Kong at the gate
13:15NZ 9105 to Newark leaves the gate
20 h 41 apart on the timetable, overnight
NZ 9105 leaves 20 h 41 after UA 3901 arrives on the timetable: more than half a day, so not a connection we count.