UA 3904 then NZ 4612 at San Francisco
Denver → San Francisco → Vancouver
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
16:55NZ 4612 to Vancouver leaves the gatealso UA 8506
18 h 05 apart on the timetable, overnight
NZ 4612 leaves 18 h 05 after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.