UA 2295 then LL 2630 at Miami
Newark → Miami → Barcelona (BCN)
Timetable, Miami time
14:36UA 2295 from Newark at the gate
02:45LL 2630 to Barcelona (BCN) leaves the gate
12 h 09 apart on the timetable, overnight
LL 2630 leaves 12 h 09 after UA 2295 arrives on the timetable: more than half a day, so not a connection we count.