FR 835 then VY 1158 at Barcelona
Vilnius → Barcelona → Valletta
Timetable, Barcelona time
15:30FR 835 from Vilnius at the gate
11:35VY 1158 to Valletta leaves the gate
20 h 05 apart on the timetable, overnight
VY 1158 leaves 20 h 05 after FR 835 arrives on the timetable: more than half a day, so not a connection we count.