AA 317 then K4 996 at O'Hare
Denver → Chicago → Anchorage
Timetable, Chicago time
10:04AA 317 from Denver at the gate
03:45K4 996 to Anchorage leaves the gate
17 h 41 apart on the timetable, overnight
K4 996 leaves 17 h 41 after AA 317 arrives on the timetable: more than half a day, so not a connection we count.