P5 7287 then P5 7290 at Bogotá
Santa Marta → Bogota → Medellín
Timetable, Bogota time
23:35P5 7287 from Santa Marta at the gate
22:25P5 7290 to Medellín leaves the gate
22 h 50 apart on the timetable, overnight
P5 7290 leaves 22 h 50 after P5 7287 arrives on the timetable: more than half a day, so not a connection we count.