BA 965 then BA 189 at Heathrow
Hamburg → London → Newark
Timetable, London time
16:35BA 965 from Hamburg at the gate
16:25BA 189 to Newark leaves the gate
23 h 50 apart on the timetable, overnight
BA 189 leaves 23 h 50 after BA 965 arrives on the timetable: more than half a day, so not a connection we count.