UA 582 then UA 3900 at San Francisco
Boston → San Francisco → Hong Kong
Timetable, San Francisco time
12:09UA 582 from Boston at the gate
07:00UA 3900 to Hong Kong leaves the gate
18 h 51 apart on the timetable, overnight
UA 3900 leaves 18 h 51 after UA 582 arrives on the timetable: more than half a day, so not a connection we count.