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