UA 3901 then UA 1228 at San Francisco
Hong Kong → San Francisco → Palm Springs
Timetable, San Francisco time
16:34UA 3901 from Hong Kong at the gate
14:00UA 1228 to Palm Springs leaves the gatealso AC 4212
21 h 26 apart on the timetable, overnight
UA 1228 leaves 21 h 26 after UA 3901 arrives on the timetable: more than half a day, so not a connection we count.