U2 3301 then LH 997 at Schiphol
Edinburgh → Amsterdam → Frankfurt am Main
Timetable, Amsterdam time
21:05U2 3301 from Edinburgh at the gate
14:45LH 997 to Frankfurt am Main leaves the gate
17 h 40 apart on the timetable, overnight
LH 997 leaves 17 h 40 after U2 3301 arrives on the timetable: more than half a day, so not a connection we count.