AA 66 then VY 1140 at Barcelona
New York JFK → Barcelona → Almeria
Timetable, Barcelona time
10:25AA 66 from New York JFK at the gatealso BA 1556, AY 3820, IB 4004
07:30VY 1140 to Almeria leaves the gatealso IB 5088, LL 5088
21 h 05 apart on the timetable, overnight
VY 1140 leaves 21 h 05 after AA 66 arrives on the timetable: more than half a day, so not a connection we count.