UA 2794 then GG 9723 at O'Hare
Los Angeles → Chicago → Tokyo Narita
Timetable, Chicago time
22:00UA 2794 from Los Angeles at the gate
10:30GG 9723 to Tokyo Narita leaves the gate
12 h 30 apart on the timetable, overnight
GG 9723 leaves 12 h 30 after UA 2794 arrives on the timetable: more than half a day, so not a connection we count.