DL 811 then DL 958 at LAX
Miami → Los Angeles → New York JFK
Timetable, Los Angeles time
21:20DL 811 from Miami at the gate
09:25DL 958 to New York JFK leaves the gate
12 h 05 apart on the timetable, overnight
DL 958 leaves 12 h 05 after DL 811 arrives on the timetable: more than half a day, so not a connection we count.