UA 3904 then SK 3638 at San Francisco
Denver → San Francisco → Los Angeles
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
16:30SK 3638 to Los Angeles leaves the gate
17 h 40 apart on the timetable, overnight
SK 3638 leaves 17 h 40 after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.