AV 2351 then DL 6939 at San Francisco
Denver → San Francisco → Calgary
Timetable, San Francisco time
23:09AV 2351 from Denver at the gate
16:40DL 6939 to Calgary leaves the gate
17 h 31 apart on the timetable, overnight
DL 6939 leaves 17 h 31 after AV 2351 arrives on the timetable: more than half a day, so not a connection we count.