BA 170 then BA 470 at Heathrow
Pittsburgh → London → Palma de Mallorca
Timetable, London time
09:40BA 170 from Pittsburgh at the gate
08:00BA 470 to Palma de Mallorca leaves the gate
22 h 20 apart on the timetable, overnight
BA 470 leaves 22 h 20 after BA 170 arrives on the timetable: more than half a day, so not a connection we count.