AV 2351 then AA 9344 at San Francisco
Denver → San Francisco → Santa Ana
Timetable, San Francisco time
19:11AV 2351 from Denver at the gate
17:49AA 9344 to Santa Ana leaves the gate
22 h 38 apart on the timetable, overnight
AA 9344 leaves 22 h 38 after AV 2351 arrives on the timetable: more than half a day, so not a connection we count.