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