AA 3278 then AA 9977 at Philadelphia
Pittsburgh → Philadelphia → Harrisburg
Timetable, Philadelphia time
07:25AA 3278 from Pittsburgh at the gate
06:30AA 9977 to Harrisburg leaves the gate
23 h 05 apart on the timetable, overnight
AA 9977 leaves 23 h 05 after AA 3278 arrives on the timetable: more than half a day, so not a connection we count.