SQ 318 then BA 1462 at Heathrow
Singapore → London → Edinburgh
Timetable, London time
19:10SQ 318 from Singapore at the gate
19:00BA 1462 to Edinburgh leaves the gate
23 h 50 apart on the timetable, overnight
BA 1462 leaves 23 h 50 after SQ 318 arrives on the timetable: more than half a day, so not a connection we count.