Back to South Africa with the South African passport

I will be returning from the UK to South Africa with a South African passport. How many days must I have on my passport to return to South Africa? I assume that as long as the passport has not expired, there should be no problem.