The maximum period for which any person may be detained in pursuance of any detention order made under this Act which has been confirmed under section 12 shall be six months from the date of detention.