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