UA 3904 then UA 2409 at San Francisco
Denver → San Francisco → Los Angeles
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
19:51UA 2409 to Los Angeles leaves the gatealso VA 8054, NZ 9251
21 h 01 apart on the timetable, overnight
UA 2409 leaves 21 h 01 after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.