VY 7612 then U2 8507 at Gatwick
Barcelona → London → Geneva
Timetable, London time
14:45VY 7612 from Barcelona at the gate
14:40U2 8507 to Geneva leaves the gate
23 h 55 apart on the timetable, overnight
U2 8507 leaves 23 h 55 after VY 7612 arrives on the timetable: more than half a day, so not a connection we count.