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