KL 744 then U2 7837 at Schiphol
Lima → Amsterdam → Edinburgh
Timetable, Amsterdam time
14:05KL 744 from Lima at the gate
13:35U2 7837 to Edinburgh leaves the gate
23 h 30 apart on the timetable, overnight
U2 7837 leaves 23 h 30 after KL 744 arrives on the timetable: more than half a day, so not a connection we count.