@ Viper - I can assure you that it is 30 days.
From http://www.justice.gov.za/legislation/acts/1977-051.pdf
79 (2) (a) The court may for the purposes of the relevant enquiry commit the
accused to a psychiatric hospital or to any other place designated by the court, for
such periods, not exceeding thirty days at a time, as the court may from time to
time determine, and where an accused is in custody when he is so committed, he
shall, while he is so committed, be deemed to be in the lawful custody of the person
or the authority in whose custody he was at the time of such committal.