DL 2398 then AA 2161 at JFK
Atlanta → New York → Miami
Timetable, New York time
17:36DL 2398 from Atlanta at the gate
05:55AA 2161 to Miami leaves the gate
12 h 19 apart on the timetable, overnight
AA 2161 leaves 12 h 19 after DL 2398 arrives on the timetable: more than half a day, so not a connection we count.