UA 3904 then UA 1506 at San Francisco
Denver → San Francisco → Los Angeles
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
16:25UA 1506 to Los Angeles leaves the gatealso CA 7318, NH 7354, LH 7498, VA 8190, NZ 9252
17 h 35 apart on the timetable, overnight
UA 1506 leaves 17 h 35 after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.