UA 3901 then UA 1668 at San Francisco
Hong Kong → San Francisco → San Diego
Timetable, San Francisco time
16:34UA 3901 from Hong Kong at the gate
13:50UA 1668 to San Diego leaves the gatealso AC 4559, VA 8431
21 h 16 apart on the timetable, overnight
UA 1668 leaves 21 h 16 after UA 3901 arrives on the timetable: more than half a day, so not a connection we count.