HV 5808 then HV 5821 at Schiphol
Thessaloniki → Amsterdam → Bari
Timetable, Amsterdam time
23:50HV 5808 from Thessaloniki at the gate
17:40HV 5821 to Bari leaves the gate
17 h 50 apart on the timetable, overnight
HV 5821 leaves 17 h 50 after HV 5808 arrives on the timetable: more than half a day, so not a connection we count.