LH 996 then U2 7837 at Schiphol
Frankfurt am Main → Amsterdam → Edinburgh
Timetable, Amsterdam time
13:55LH 996 from Frankfurt am Main at the gate
13:35U2 7837 to Edinburgh leaves the gate
23 h 40 apart on the timetable, overnight
U2 7837 leaves 23 h 40 after LH 996 arrives on the timetable: more than half a day, so not a connection we count.