KM 514 then OS 965 at Vienna
Valletta → Vienna → Stockholm
Timetable, Vienna time
19:45KM 514 from Valletta at the gate
12:20OS 965 to Stockholm leaves the gate
16 h 35 apart on the timetable, overnight
OS 965 leaves 16 h 35 after KM 514 arrives on the timetable: more than half a day, so not a connection we count.