JA 5171 then JA 5871 at Bogotá
Santa Marta → Bogota → Santiago de Chile
Timetable, Bogota time
16:15JA 5171 from Santa Marta at the gate
16:10JA 5871 to Santiago de Chile leaves the gate
23 h 55 apart on the timetable, overnight
JA 5871 leaves 23 h 55 after JA 5171 arrives on the timetable: more than half a day, so not a connection we count.