KL 972 then U2 7837 at Schiphol
Grimsby → Amsterdam → Edinburgh
Timetable, Amsterdam time
11:55KL 972 from Grimsby at the gate
11:15U2 7837 to Edinburgh leaves the gate
23 h 20 apart on the timetable, overnight
U2 7837 leaves 23 h 20 after KL 972 arrives on the timetable: more than half a day, so not a connection we count.