4Z 770 then 5Z 840 at Johannesburg
Upington → Johannesburg → Cape Town
Timetable, Johannesburg time
19:154Z 770 from Upington at the gate
18:005Z 840 to Cape Town leaves the gate
22 h 45 apart on the timetable, overnight
5Z 840 leaves 22 h 45 after 4Z 770 arrives on the timetable: more than half a day, so not a connection we count.