JA 5173 then JA 9245 at Bogotá
Santa Marta → Bogota → Cali
Timetable, Bogota time
23:35JA 5173 from Santa Marta at the gate
18:20JA 9245 to Cali leaves the gate
18 h 45 apart on the timetable, overnight
JA 9245 leaves 18 h 45 after JA 5173 arrives on the timetable: more than half a day, so not a connection we count.