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