FR 3040 then AM 6360 at Barcelona
Prague → Barcelona → Amsterdam
Timetable, Barcelona time
21:15FR 3040 from Prague at the gate
19:55AM 6360 to Amsterdam leaves the gate
22 h 40 apart on the timetable, overnight
AM 6360 leaves 22 h 40 after FR 3040 arrives on the timetable: more than half a day, so not a connection we count.