EC 7662 then FR 1768 at Lisbon
Milan → Lisbon → Valencia
Timetable, Lisbon time
12:40EC 7662 from Milan at the gate
12:25FR 1768 to Valencia leaves the gate
23 h 45 apart on the timetable, overnight
FR 1768 leaves 23 h 45 after EC 7662 arrives on the timetable: more than half a day, so not a connection we count.