UA 3904 then UA 1791 at San Francisco
Denver → San Francisco → Washington
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
13:50UA 1791 to Washington leaves the gatealso CA 7314, NZ 9163
15 h apart on the timetable, overnight
UA 1791 leaves 15 h after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.