UA 2313 then AV 2354 at San Francisco
San José (Costa Rica) → San Francisco → Denver
Timetable, San Francisco time
14:42UA 2313 from San José (Costa Rica) at the gate
05:00AV 2354 to Denver leaves the gate
14 h 18 apart on the timetable, overnight
AV 2354 leaves 14 h 18 after UA 2313 arrives on the timetable: more than half a day, so not a connection we count.