AA 9909 then UA 5498 at Denver
Los Angeles → Denver → Billings
Timetable, Denver time
16:45AA 9909 from Los Angeles at the gate
15:31UA 5498 to Billings leaves the gate
22 h 46 apart on the timetable, overnight
UA 5498 leaves 22 h 46 after AA 9909 arrives on the timetable: more than half a day, so not a connection we count.