BA 2717 then EC 8631 at Gatwick
Funchal → London → Berlin
Timetable, London time
16:15BA 2717 from Funchal at the gate
14:35EC 8631 to Berlin leaves the gate
22 h 20 apart on the timetable, overnight
EC 8631 leaves 22 h 20 after BA 2717 arrives on the timetable: more than half a day, so not a connection we count.