SK 3630 then AY 5797 at San Francisco
Los Angeles → San Francisco → New York JFK
Timetable, San Francisco time
21:55SK 3630 from Los Angeles at the gate
12:25AY 5797 to New York JFK leaves the gate
14 h 30 apart on the timetable, overnight
AY 5797 leaves 14 h 30 after SK 3630 arrives on the timetable: more than half a day, so not a connection we count.