JA 5161 then P5 7284 at Bogotá
Cartagena → Bogota → Santa Marta
Timetable, Bogota time
23:15JA 5161 from Cartagena at the gate
17:25P5 7284 to Santa Marta leaves the gate
18 h 10 apart on the timetable, overnight
P5 7284 leaves 18 h 10 after JA 5161 arrives on the timetable: more than half a day, so not a connection we count.