DL 1834 then DL 6065 at JFK
Tampa → New York → Lima
Timetable, New York time
23:01DL 1834 from Tampa at the gate
22:50DL 6065 to Lima leaves the gate
23 h 49 apart on the timetable, overnight
DL 6065 leaves 23 h 49 after DL 1834 arrives on the timetable: more than half a day, so not a connection we count.