FR 1587 then FR 51 at Vienna
Valletta → Vienna → Treviso
Timetable, Vienna time
11:05FR 1587 from Valletta at the gate
10:15FR 51 to Treviso leaves the gate
23 h 10 apart on the timetable, overnight
FR 51 leaves 23 h 10 after FR 1587 arrives on the timetable: more than half a day, so not a connection we count.