DL 676 then AA 2161 at JFK
Los Angeles → New York → Miami
Timetable, New York time
06:45DL 676 from Los Angeles at the gate
05:55AA 2161 to Miami leaves the gate
23 h 10 apart on the timetable, overnight
AA 2161 leaves 23 h 10 after DL 676 arrives on the timetable: more than half a day, so not a connection we count.