UA 23 then FR 818 at Dublin
Newark → Dublin → Edinburgh
Timetable, Dublin time
07:30UA 23 from Newark at the gate
06:15FR 818 to Edinburgh leaves the gate
22 h 45 apart on the timetable, overnight
FR 818 leaves 22 h 45 after UA 23 arrives on the timetable: more than half a day, so not a connection we count.