UA 6105 then AA 4102 at O'Hare
Lewisburg → Chicago → Denver
Timetable, Chicago time
12:45UA 6105 from Lewisburg at the gate
06:40AA 4102 to Denver leaves the gate
17 h 55 apart on the timetable, overnight
AA 4102 leaves 17 h 55 after UA 6105 arrives on the timetable: more than half a day, so not a connection we count.