UA 2462 then AV 2354 at San Francisco
Toronto → San Francisco → Denver
Timetable, San Francisco time
20:03UA 2462 from Toronto at the gatealso AC 3898
16:24AV 2354 to Denver leaves the gate
20 h 21 apart on the timetable, overnight
AV 2354 leaves 20 h 21 after UA 2462 arrives on the timetable: more than half a day, so not a connection we count.