JA 5173 then AR 8916 at Bogotá
Santa Marta → Bogota → Medellín
Timetable, Bogota time
23:35JA 5173 from Santa Marta at the gate
19:30AR 8916 to Medellín leaves the gate
19 h 55 apart on the timetable, overnight
AR 8916 leaves 19 h 55 after JA 5173 arrives on the timetable: more than half a day, so not a connection we count.