DL 939 then AT 201 at JFK
Los Angeles → New York → Casablanca
Timetable, New York time
20:59DL 939 from Los Angeles at the gate
20:00AT 201 to Casablanca leaves the gate
23 h 01 apart on the timetable, overnight
AT 201 leaves 23 h 01 after DL 939 arrives on the timetable: more than half a day, so not a connection we count.