AA 2978 then WN 3287 at Phoenix
Mazatlan → Phoenix → Sacramento
Timetable, Phoenix time
16:35AA 2978 from Mazatlan at the gate
14:55WN 3287 to Sacramento leaves the gate
22 h 20 apart on the timetable, overnight
WN 3287 leaves 22 h 20 after AA 2978 arrives on the timetable: more than half a day, so not a connection we count.