UA 120 then VY 1208 at Barcelona
Newark → Barcelona → Stuttgart
Timetable, Barcelona time
08:20UA 120 from Newark at the gatealso LX 3011, LH 7968
06:30VY 1208 to Stuttgart leaves the gatealso IB 5394, LL 5394
22 h 10 apart on the timetable, overnight
VY 1208 leaves 22 h 10 after UA 120 arrives on the timetable: more than half a day, so not a connection we count.