UA 3926 then DL 6939 at San Francisco
Newark → San Francisco → Calgary
Timetable, San Francisco time
22:56UA 3926 from Newark at the gate
16:40DL 6939 to Calgary leaves the gate
17 h 44 apart on the timetable, overnight
DL 6939 leaves 17 h 44 after UA 3926 arrives on the timetable: more than half a day, so not a connection we count.