AA 3291 then AA 1841 at Phoenix
San Diego → Phoenix → Ontario
Timetable, Phoenix time
21:53AA 3291 from San Diego at the gate
21:35AA 1841 to Ontario leaves the gate
23 h 42 apart on the timetable, overnight
AA 1841 leaves 23 h 42 after AA 3291 arrives on the timetable: more than half a day, so not a connection we count.