JA 5179 then AV 8389 at Bogotá
Santa Marta → Bogota → Guayaquil
Timetable, Bogota time
23:30JA 5179 from Santa Marta at the gate
13:10AV 8389 to Guayaquil leaves the gate
13 h 40 apart on the timetable, overnight
AV 8389 leaves 13 h 40 after JA 5179 arrives on the timetable: more than half a day, so not a connection we count.