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