LL 5023 then EC 7199 at Barcelona
Athens → Barcelona → Edinburgh
Timetable, Barcelona time
14:05LL 5023 from Athens at the gate
06:55EC 7199 to Edinburgh leaves the gate
16 h 50 apart on the timetable, overnight
EC 7199 leaves 16 h 50 after LL 5023 arrives on the timetable: more than half a day, so not a connection we count.