UA 4500 then UA 4250 at Dulles
Detroit → Washington → Harrisburg
Timetable, Washington time
21:17UA 4500 from Detroit at the gate
17:30UA 4250 to Harrisburg leaves the gate
20 h 13 apart on the timetable, overnight
UA 4250 leaves 20 h 13 after UA 4500 arrives on the timetable: more than half a day, so not a connection we count.