DL 5161 then DL 2398 at Atlanta
Montgomery → Atlanta → New York JFK
Timetable, Atlanta time
20:35DL 5161 from Montgomery at the gate
15:16DL 2398 to New York JFK leaves the gate
18 h 41 apart on the timetable, overnight
DL 2398 leaves 18 h 41 after DL 5161 arrives on the timetable: more than half a day, so not a connection we count.