AA 5830 then DL 5845 at Philadelphia
Richmond → Philadelphia → Boston
Timetable, Philadelphia time
09:30AA 5830 from Richmond at the gate
09:00DL 5845 to Boston leaves the gate
23 h 30 apart on the timetable, overnight
DL 5845 leaves 23 h 30 after AA 5830 arrives on the timetable: more than half a day, so not a connection we count.