AV 2351 then UA 1476 at San Francisco
Denver → San Francisco → Toronto
Timetable, San Francisco time
11:42AV 2351 from Denver at the gate
00:32UA 1476 to Toronto leaves the gatealso AC 3016
12 h 50 apart on the timetable, overnight
UA 1476 leaves 12 h 50 after AV 2351 arrives on the timetable: more than half a day, so not a connection we count.