AA 3183 then AA 3288 at Phoenix
Chicago O'Hare → Phoenix → Bakersfield
Timetable, Phoenix time
16:25AA 3183 from Chicago O'Hare at the gate
15:00AA 3288 to Bakersfield leaves the gate
22 h 35 apart on the timetable, overnight
AA 3288 leaves 22 h 35 after AA 3183 arrives on the timetable: more than half a day, so not a connection we count.