UA 2367 then UA 785 at San Francisco
Denver → San Francisco → Washington
Timetable, San Francisco time
06:48UA 2367 from Denver at the gatealso AC 3067
06:15UA 785 to Washington leaves the gatealso AZ 4408, NZ 9160
23 h 27 apart on the timetable, overnight
UA 785 leaves 23 h 27 after UA 2367 arrives on the timetable: more than half a day, so not a connection we count.