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