UA 3904 then NZ 9627 at San Francisco
Denver → San Francisco → Salt Lake City
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
18:25NZ 9627 to Salt Lake City leaves the gate
19 h 35 apart on the timetable, overnight
NZ 9627 leaves 19 h 35 after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.