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