HV 5168 then HV 7845 at Schiphol
Cairo → Amsterdam → Edinburgh
Timetable, Amsterdam time
00:40HV 5168 from Cairo at the gate
19:30HV 7845 to Edinburgh leaves the gate
18 h 50 apart on the timetable
HV 7845 leaves 18 h 50 after HV 5168 arrives on the timetable: more than half a day, so not a connection we count.