DL 5765 then DL 5845 at Boston
New York JFK → Boston → Philadelphia
Timetable, Boston time
07:20DL 5765 from New York JFK at the gate
06:40DL 5845 to Philadelphia leaves the gate
23 h 20 apart on the timetable, overnight
DL 5845 leaves 23 h 20 after DL 5765 arrives on the timetable: more than half a day, so not a connection we count.