VS 22 then BA 962 at Heathrow
Washington → London → Hamburg
Timetable, London time
07:55VS 22 from Washington at the gate
06:45BA 962 to Hamburg leaves the gate
22 h 50 apart on the timetable, overnight
BA 962 leaves 22 h 50 after VS 22 arrives on the timetable: more than half a day, so not a connection we count.