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