UA 909 then HV 5131 at Schiphol
Chicago → Amsterdam → Barcelona
Timetable, Amsterdam time
09:35UA 909 from Chicago at the gate
07:00HV 5131 to Barcelona leaves the gate
21 h 25 apart on the timetable, overnight
HV 5131 leaves 21 h 25 after UA 909 arrives on the timetable: more than half a day, so not a connection we count.