GateConnections

DL 336 then DL 5595 at JFK

Denver → New York → Washington

Timetable, New York time

12:47DL 336 from Denver at the gate

10:25DL 5595 to Washington leaves the gate

21 h 38 apart on the timetable, overnight

DL 5595 leaves 21 h 38 after DL 336 arrives on the timetable: more than half a day, so not a connection we count.