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