DL 127 then DL 747 at JFK
Madrid → New York → Los Angeles
Timetable, New York time
12:00DL 127 from Madrid at the gate
11:00DL 747 to Los Angeles leaves the gate
23 h apart on the timetable, overnight
DL 747 leaves 23 h after DL 127 arrives on the timetable: more than half a day, so not a connection we count.