UA 3852 then UA 599 at San Francisco
Ontario → San Francisco → Washington
Timetable, San Francisco time
14:00UA 3852 from Ontario at the gate
08:10UA 599 to Washington leaves the gate
18 h 10 apart on the timetable, overnight
UA 599 leaves 18 h 10 after UA 3852 arrives on the timetable: more than half a day, so not a connection we count.