UA 3904 then UA 1808 at San Francisco
Denver → San Francisco → Newark
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
14:00UA 1808 to Newark leaves the gate
15 h 10 apart on the timetable, overnight
UA 1808 leaves 15 h 10 after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.