FR 631 then FR 1908 at Dublin
Cologne → Dublin → Gdansk
Timetable, Dublin time
00:50FR 631 from Cologne at the gate
17:30FR 1908 to Gdansk leaves the gate
16 h 40 apart on the timetable
FR 1908 leaves 16 h 40 after FR 631 arrives on the timetable: more than half a day, so not a connection we count.