U2 7900 then U2 7837 at Schiphol
Valencia → Amsterdam → Edinburgh
Timetable, Amsterdam time
22:00U2 7900 from Valencia at the gate
18:45U2 7837 to Edinburgh leaves the gate
20 h 45 apart on the timetable, overnight
U2 7837 leaves 20 h 45 after U2 7900 arrives on the timetable: more than half a day, so not a connection we count.