UA 2458 then GG 9723 at O'Hare
Las Vegas → Chicago → Tokyo Narita
Timetable, Chicago time
16:47UA 2458 from Las Vegas at the gate
10:30GG 9723 to Tokyo Narita leaves the gate
17 h 43 apart on the timetable, overnight
GG 9723 leaves 17 h 43 after UA 2458 arrives on the timetable: more than half a day, so not a connection we count.