BA 965 then CA 938 at Heathrow
Hamburg → London → Beijing Capital
Timetable, London time
21:30BA 965 from Hamburg at the gate
20:25CA 938 to Beijing Capital leaves the gate
22 h 55 apart on the timetable, overnight
CA 938 leaves 22 h 55 after BA 965 arrives on the timetable: more than half a day, so not a connection we count.