FR 1739 then FR 7799 at Dublin
Valencia → Dublin → Milan
Timetable, Dublin time
23:30FR 1739 from Valencia at the gate
17:55FR 7799 to Milan leaves the gate
18 h 25 apart on the timetable, overnight
FR 7799 leaves 18 h 25 after FR 1739 arrives on the timetable: more than half a day, so not a connection we count.