W6 2007 then U2 8055 at Gatwick
Krakow → London → Barcelona
Timetable, London time
07:35W6 2007 from Krakow at the gate
06:55U2 8055 to Barcelona leaves the gate
23 h 20 apart on the timetable, overnight
U2 8055 leaves 23 h 20 after W6 2007 arrives on the timetable: more than half a day, so not a connection we count.