AV 2351 then AA 9310 at San Francisco
Denver → San Francisco → Santa Ana
Timetable, San Francisco time
23:09AV 2351 from Denver at the gate
13:29AA 9310 to Santa Ana leaves the gate
14 h 20 apart on the timetable, overnight
AA 9310 leaves 14 h 20 after AV 2351 arrives on the timetable: more than half a day, so not a connection we count.