UA 246 then UA 785 at San Francisco
Chicago O'Hare → San Francisco → Washington
Timetable, San Francisco time
08:44UA 246 from Chicago O'Hare at the gatealso AC 5029, VA 8094, NZ 9323
06:15UA 785 to Washington leaves the gatealso AZ 4408, NZ 9160
21 h 31 apart on the timetable, overnight
UA 785 leaves 21 h 31 after UA 246 arrives on the timetable: more than half a day, so not a connection we count.