W9 5738 then U2 857 at Gatwick
Valencia → London → Aberdeen
Timetable, London time
12:30W9 5738 from Valencia at the gate
12:15U2 857 to Aberdeen leaves the gate
23 h 45 apart on the timetable, overnight
U2 857 leaves 23 h 45 after W9 5738 arrives on the timetable: more than half a day, so not a connection we count.