QF 3023 then QF 3656 at San Francisco
Los Angeles → San Francisco → New York JFK
Timetable, San Francisco time
15:36QF 3023 from Los Angeles at the gate
13:50QF 3656 to New York JFK leaves the gate
22 h 14 apart on the timetable, overnight
QF 3656 leaves 22 h 14 after QF 3023 arrives on the timetable: more than half a day, so not a connection we count.