FR 338 then FR 816 at Dublin
London Luton → Dublin → Edinburgh
Timetable, Dublin time
17:20FR 338 from London Luton at the gate
13:45FR 816 to Edinburgh leaves the gate
20 h 25 apart on the timetable, overnight
FR 816 leaves 20 h 25 after FR 338 arrives on the timetable: more than half a day, so not a connection we count.