JA 5177 then AV 8580 at Bogotá
Santa Marta → Bogota → Valledupar
Timetable, Bogota time
22:45JA 5177 from Santa Marta at the gate
20:10AV 8580 to Valledupar leaves the gate
21 h 25 apart on the timetable, overnight
AV 8580 leaves 21 h 25 after JA 5177 arrives on the timetable: more than half a day, so not a connection we count.