FR 3008 then LA 1718 at Madrid
Milan → Madrid → Valencia
Timetable, Madrid time
19:50FR 3008 from Milan at the gate
16:05LA 1718 to Valencia leaves the gatealso AT 5440
20 h 15 apart on the timetable, overnight
LA 1718 leaves 20 h 15 after FR 3008 arrives on the timetable: more than half a day, so not a connection we count.