DL 991 then DL 6063 at JFK
Los Angeles → New York → Lima
Timetable, New York time
19:40DL 991 from Los Angeles at the gate
12:50DL 6063 to Lima leaves the gate
17 h 10 apart on the timetable, overnight
DL 6063 leaves 17 h 10 after DL 991 arrives on the timetable: more than half a day, so not a connection we count.