UA 3901 then UA 1496 at San Francisco
Hong Kong → San Francisco → Boston
Timetable, San Francisco time
16:34UA 3901 from Hong Kong at the gate
14:42UA 1496 to Boston leaves the gatealso VA 8307, NZ 9013
22 h 08 apart on the timetable, overnight
UA 1496 leaves 22 h 08 after UA 3901 arrives on the timetable: more than half a day, so not a connection we count.