FR 270 then EC 7107 at Barcelona
Milan → Barcelona → Geneva
Timetable, Barcelona time
17:10FR 270 from Milan at the gate
14:40EC 7107 to Geneva leaves the gate
21 h 30 apart on the timetable, overnight
EC 7107 leaves 21 h 30 after FR 270 arrives on the timetable: more than half a day, so not a connection we count.