FR 817 then FR 4518 at Dublin
Edinburgh → Dublin → Athens
Timetable, Dublin time
19:00FR 817 from Edinburgh at the gate
17:50FR 4518 to Athens leaves the gate
22 h 50 apart on the timetable, overnight
FR 4518 leaves 22 h 50 after FR 817 arrives on the timetable: more than half a day, so not a connection we count.