UA 3904 then NZ 2843 at San Francisco
Denver → San Francisco → Monterey
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
16:20NZ 2843 to Monterey leaves the gatealso AC 4284
17 h 30 apart on the timetable, overnight
NZ 2843 leaves 17 h 30 after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.