FR 813 then FR 1740 at Dublin
Edinburgh → Dublin → Valencia
Timetable, Dublin time
15:10FR 813 from Edinburgh at the gate
06:20FR 1740 to Valencia leaves the gate
15 h 10 apart on the timetable, overnight
FR 1740 leaves 15 h 10 after FR 813 arrives on the timetable: more than half a day, so not a connection we count.