QF 3657 then AS 3465 at San Francisco
New York JFK → San Francisco → Santa Ana
Timetable, San Francisco time
23:59QF 3657 from New York JFK at the gate
20:52AS 3465 to Santa Ana leaves the gate
20 h 53 apart on the timetable, overnight
AS 3465 leaves 20 h 53 after QF 3657 arrives on the timetable: more than half a day, so not a connection we count.