UA 794 then OZ 6315 at San Francisco
Newark → San Francisco → Washington
Timetable, San Francisco time
18:33UA 794 from Newark at the gatealso VA 8577, NZ 9125
16:52OZ 6315 to Washington leaves the gate
22 h 19 apart on the timetable, overnight
OZ 6315 leaves 22 h 19 after UA 794 arrives on the timetable: more than half a day, so not a connection we count.