UA 3904 then UA 1799 at San Francisco
Denver → San Francisco → Los Angeles
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
18:55UA 1799 to Los Angeles leaves the gatealso VA 8048, NZ 9255
20 h 05 apart on the timetable, overnight
UA 1799 leaves 20 h 05 after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.