UA 770 then UA 3910 at O'Hare
Barcelona → Chicago → Newark
Timetable, Chicago time
18:00UA 770 from Barcelona at the gate
07:30UA 3910 to Newark leaves the gate
13 h 30 apart on the timetable, overnight
UA 3910 leaves 13 h 30 after UA 770 arrives on the timetable: more than half a day, so not a connection we count.