AC 4121 then QR 8818 at San Francisco
Ontario → San Francisco → Santa Ana
Timetable, San Francisco time
17:50AC 4121 from Ontario at the gate
17:49QR 8818 to Santa Ana leaves the gate
23 h 59 apart on the timetable, overnight
QR 8818 leaves 23 h 59 after AC 4121 arrives on the timetable: more than half a day, so not a connection we count.