UA 3901 then UA 1957 at San Francisco
Hong Kong → San Francisco → Kahului
Timetable, San Francisco time
16:34UA 3901 from Hong Kong at the gate
14:05UA 1957 to Kahului leaves the gate
21 h 31 apart on the timetable, overnight
UA 1957 leaves 21 h 31 after UA 3901 arrives on the timetable: more than half a day, so not a connection we count.