U2 3217 then FR 7539 at Barcelona
Edinburgh → Barcelona → Milan
Timetable, Barcelona time
18:40U2 3217 from Edinburgh at the gate
08:40FR 7539 to Milan leaves the gate
14 h apart on the timetable, overnight
FR 7539 leaves 14 h after U2 3217 arrives on the timetable: more than half a day, so not a connection we count.