AM 4431 then QF 3654 at San Francisco
Los Angeles → San Francisco → New York JFK
Timetable, San Francisco time
23:21AM 4431 from Los Angeles at the gate
23:00QF 3654 to New York JFK leaves the gate
23 h 39 apart on the timetable, overnight
QF 3654 leaves 23 h 39 after AM 4431 arrives on the timetable: more than half a day, so not a connection we count.