BA 2817 then BA 2740 at Gatwick
Algiers → London → Thessaloniki
Timetable, London time
16:10BA 2817 from Algiers at the gate
15:15BA 2740 to Thessaloniki leaves the gate
23 h 05 apart on the timetable, overnight
BA 2740 leaves 23 h 05 after BA 2817 arrives on the timetable: more than half a day, so not a connection we count.