FR 2716 then U2 804 at Gatwick
Alicante → London → Edinburgh
Timetable, London time
18:05FR 2716 from Alicante at the gate
16:00U2 804 to Edinburgh leaves the gate
21 h 55 apart on the timetable, overnight
U2 804 leaves 21 h 55 after FR 2716 arrives on the timetable: more than half a day, so not a connection we count.