DL 5067 then DL 5264 at JFK
Charlotte → New York → Buffalo
Timetable, New York time
22:34DL 5067 from Charlotte at the gate
22:15DL 5264 to Buffalo leaves the gate
23 h 41 apart on the timetable, overnight
DL 5264 leaves 23 h 41 after DL 5067 arrives on the timetable: more than half a day, so not a connection we count.