EW 8460 then BA 872 at Heathrow
Berlin → London → Krakow
Timetable, London time
08:00EW 8460 from Berlin at the gate
06:55BA 872 to Krakow leaves the gate
22 h 55 apart on the timetable, overnight
BA 872 leaves 22 h 55 after EW 8460 arrives on the timetable: more than half a day, so not a connection we count.