FR 3008 then IB 379 at Madrid
Milan → Madrid → San Juan
Timetable, Madrid time
19:50FR 3008 from Milan at the gate
16:00IB 379 to San Juan leaves the gate
20 h 10 apart on the timetable, overnight
IB 379 leaves 20 h 10 after FR 3008 arrives on the timetable: more than half a day, so not a connection we count.