LX 316 then BA 962 at Heathrow
Zurich → London → Hamburg
Timetable, London time
08:05LX 316 from Zurich at the gate
06:45BA 962 to Hamburg leaves the gate
22 h 40 apart on the timetable, overnight
BA 962 leaves 22 h 40 after LX 316 arrives on the timetable: more than half a day, so not a connection we count.