UA 336 then UA 785 at San Francisco
Los Angeles → San Francisco → Washington
Timetable, San Francisco time
08:55UA 336 from Los Angeles at the gatealso NH 7355, VA 8056, NZ 9273
06:15UA 785 to Washington leaves the gatealso AZ 4408, NZ 9160
21 h 20 apart on the timetable, overnight
UA 785 leaves 21 h 20 after UA 336 arrives on the timetable: more than half a day, so not a connection we count.