UA 1710 then UA 5191 at O'Hare
San Diego → Chicago → Lancaster
Timetable, Chicago time
16:54UA 1710 from San Diego at the gate
08:50UA 5191 to Lancaster leaves the gate
15 h 56 apart on the timetable, overnight
UA 5191 leaves 15 h 56 after UA 1710 arrives on the timetable: more than half a day, so not a connection we count.