AA 1317 then GG 9723 at O'Hare
Denver → Chicago → Tokyo Narita
Timetable, Chicago time
21:50AA 1317 from Denver at the gate
10:30GG 9723 to Tokyo Narita leaves the gate
12 h 40 apart on the timetable, overnight
GG 9723 leaves 12 h 40 after AA 1317 arrives on the timetable: more than half a day, so not a connection we count.