UA 6081 then UA 1018 at Houston
Denver → Houston → Cancún
Timetable, Houston time
10:30UA 6081 from Denver at the gate
09:33UA 1018 to Cancún leaves the gate
23 h 03 apart on the timetable, overnight
UA 1018 leaves 23 h 03 after UA 6081 arrives on the timetable: more than half a day, so not a connection we count.