AF 8883 then QR 8818 at San Francisco
Los Angeles → San Francisco → Santa Ana
Timetable, San Francisco time
21:34AF 8883 from Los Angeles at the gate
16:17QR 8818 to Santa Ana leaves the gate
18 h 43 apart on the timetable, overnight
QR 8818 leaves 18 h 43 after AF 8883 arrives on the timetable: more than half a day, so not a connection we count.