DL 1387 then AA 8794 at JFK
New Orleans → New York → Barcelona
Timetable, New York time
23:57DL 1387 from New Orleans at the gate
23:45AA 8794 to Barcelona leaves the gate
23 h 48 apart on the timetable, overnight
AA 8794 leaves 23 h 48 after DL 1387 arrives on the timetable: more than half a day, so not a connection we count.