FR 635 then FR 5298 at Dublin
Cardiff → Dublin → Amsterdam
Timetable, Dublin time
17:05FR 635 from Cardiff at the gate
12:45FR 5298 to Amsterdam leaves the gate
19 h 40 apart on the timetable, overnight
FR 5298 leaves 19 h 40 after FR 635 arrives on the timetable: more than half a day, so not a connection we count.