UA 3904 then DL 1559 at San Francisco
Denver → San Francisco → Los Angeles
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
18:38DL 1559 to Los Angeles leaves the gatealso WS 6700, LA 7073
19 h 48 apart on the timetable, overnight
DL 1559 leaves 19 h 48 after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.