GateConnections

UA 16 then BA 1438 at Heathrow

Newark → London → Edinburgh

Timetable, London time

06:20UA 16 from Newark at the gate

06:05BA 1438 to Edinburgh leaves the gate

23 h 45 apart on the timetable, overnight

BA 1438 leaves 23 h 45 after UA 16 arrives on the timetable: more than half a day, so not a connection we count.