FR 8230 then U2 3218 at Barcelona
London Stansted → Barcelona → Edinburgh
Timetable, Barcelona time
21:20FR 8230 from London Stansted at the gate
19:15U2 3218 to Edinburgh leaves the gate
21 h 55 apart on the timetable, overnight
U2 3218 leaves 21 h 55 after FR 8230 arrives on the timetable: more than half a day, so not a connection we count.