UA 2370 then UA 5191 at O'Hare
Sacramento → Chicago → Lancaster
Timetable, Chicago time
13:15UA 2370 from Sacramento at the gate
08:50UA 5191 to Lancaster leaves the gate
19 h 35 apart on the timetable, overnight
UA 5191 leaves 19 h 35 after UA 2370 arrives on the timetable: more than half a day, so not a connection we count.