UA 1800 then AV 2354 at San Francisco
Newark → San Francisco → Denver
Timetable, San Francisco time
23:57UA 1800 from Newark at the gatealso VA 8167, NZ 9135
16:24AV 2354 to Denver leaves the gate
16 h 27 apart on the timetable, overnight
AV 2354 leaves 16 h 27 after UA 1800 arrives on the timetable: more than half a day, so not a connection we count.