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