U2 7904 then U2 7835 at Schiphol
Valletta → Amsterdam → Edinburgh
Timetable, Amsterdam time
14:15U2 7904 from Valletta at the gate
07:55U2 7835 to Edinburgh leaves the gate
17 h 40 apart on the timetable, overnight
U2 7835 leaves 17 h 40 after U2 7904 arrives on the timetable: more than half a day, so not a connection we count.