WN 1018 then WN 2387 at Denver
Cancún → Denver → Tampa
Timetable, Denver time
18:45WN 1018 from Cancún at the gate
18:40WN 2387 to Tampa leaves the gate
23 h 55 apart on the timetable, overnight
WN 2387 leaves 23 h 55 after WN 1018 arrives on the timetable: more than half a day, so not a connection we count.