UA 1882 then UA 2257 at Denver
Nashville → Denver → Puerto Vallarta
Timetable, Denver time
10:20UA 1882 from Nashville at the gate
09:37UA 2257 to Puerto Vallarta leaves the gate
23 h 17 apart on the timetable, overnight
UA 2257 leaves 23 h 17 after UA 1882 arrives on the timetable: more than half a day, so not a connection we count.