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