U2 8004 then U2 8635 at Gatwick
Almeria → London → Hamburg
Timetable, London time
13:25U2 8004 from Almeria at the gate
13:00U2 8635 to Hamburg leaves the gate
23 h 35 apart on the timetable, overnight
U2 8635 leaves 23 h 35 after U2 8004 arrives on the timetable: more than half a day, so not a connection we count.