AV 2351 then BA 6664 at San Francisco
Denver → San Francisco → Chicago O'Hare
Timetable, San Francisco time
23:09AV 2351 from Denver at the gate
13:42BA 6664 to Chicago O'Hare leaves the gate
14 h 33 apart on the timetable, overnight
BA 6664 leaves 14 h 33 after AV 2351 arrives on the timetable: more than half a day, so not a connection we count.