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