U2 3301 then U2 7839 at Schiphol
Edinburgh → Amsterdam → London Stansted
Timetable, Amsterdam time
09:40U2 3301 from Edinburgh at the gate
08:00U2 7839 to London Stansted leaves the gate
22 h 20 apart on the timetable, overnight
U2 7839 leaves 22 h 20 after U2 3301 arrives on the timetable: more than half a day, so not a connection we count.