FR 1739 then FR 5151 at Dublin
Valencia → Dublin → Glasgow
Timetable, Dublin time
23:30FR 1739 from Valencia at the gate
14:30FR 5151 to Glasgow leaves the gate
15 h apart on the timetable, overnight
FR 5151 leaves 15 h after FR 1739 arrives on the timetable: more than half a day, so not a connection we count.