UA 3901 then UA 597 at San Francisco
Hong Kong → San Francisco → Bozeman
Timetable, San Francisco time
16:34UA 3901 from Hong Kong at the gate
12:00UA 597 to Bozeman leaves the gatealso NZ 9435
19 h 26 apart on the timetable, overnight
UA 597 leaves 19 h 26 after UA 3901 arrives on the timetable: more than half a day, so not a connection we count.