DL 2312 then DL 2398 at Atlanta
Newark → Atlanta → New York JFK
Timetable, Atlanta time
17:53DL 2312 from Newark at the gate
15:16DL 2398 to New York JFK leaves the gate
21 h 23 apart on the timetable, overnight
DL 2398 leaves 21 h 23 after DL 2312 arrives on the timetable: more than half a day, so not a connection we count.