AA 5894 then AA 5917 at Charlotte
Montgomery → Charlotte → Greenville-Spartanburg
Timetable, Charlotte time
09:35AA 5894 from Montgomery at the gate
09:20AA 5917 to Greenville-Spartanburg leaves the gate
23 h 45 apart on the timetable, overnight
AA 5917 leaves 23 h 45 after AA 5894 arrives on the timetable: more than half a day, so not a connection we count.