B6 519 then F9 1408 at Atlanta
New York JFK → Atlanta → Buffalo
Timetable, Atlanta time
12:15B6 519 from New York JFK at the gate
11:41F9 1408 to Buffalo leaves the gate
23 h 26 apart on the timetable, overnight
F9 1408 leaves 23 h 26 after B6 519 arrives on the timetable: more than half a day, so not a connection we count.