UA 3901 then BA 1782 at San Francisco
Hong Kong → San Francisco → Chicago O'Hare
Timetable, San Francisco time
16:34UA 3901 from Hong Kong at the gate
14:18BA 1782 to Chicago O'Hare leaves the gatealso AA 1948, AY 4140
21 h 44 apart on the timetable, overnight
BA 1782 leaves 21 h 44 after UA 3901 arrives on the timetable: more than half a day, so not a connection we count.