FR 270 then FR 1527 at Barcelona
Milan → Barcelona → Valletta
Timetable, Barcelona time
17:10FR 270 from Milan at the gate
16:30FR 1527 to Valletta leaves the gate
23 h 20 apart on the timetable, overnight
FR 1527 leaves 23 h 20 after FR 270 arrives on the timetable: more than half a day, so not a connection we count.