UA 8117 then UA 581 at San Francisco
Chicago O'Hare → San Francisco → Cleveland
Timetable, San Francisco time
18:02UA 8117 from Chicago O'Hare at the gate
12:45UA 581 to Cleveland leaves the gate
18 h 43 apart on the timetable, overnight
UA 581 leaves 18 h 43 after UA 8117 arrives on the timetable: more than half a day, so not a connection we count.