AA 742 then VY 1204 at Barcelona
Philadelphia → Barcelona → Santander
Timetable, Barcelona time
09:10AA 742 from Philadelphia at the gatealso BA 1607, AY 3814, IB 4934
07:10VY 1204 to Santander leaves the gatealso IB 5378, LL 5378
22 h apart on the timetable, overnight
VY 1204 leaves 22 h after AA 742 arrives on the timetable: more than half a day, so not a connection we count.