DL 2823 then DL 2398 at Atlanta
Panama City Beach → Atlanta → New York JFK
Timetable, Atlanta time
15:45DL 2823 from Panama City Beach at the gate
15:16DL 2398 to New York JFK leaves the gate
23 h 31 apart on the timetable, overnight
DL 2398 leaves 23 h 31 after DL 2823 arrives on the timetable: more than half a day, so not a connection we count.