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