If suspected of committing a crime, the time spent in custody in a detention center, including the period of criminal detention, the period of reconnaissance custody after arrest, the period of the procuratorate's review and prosecution, the procuratorate filed a public indictment, and then can be released if there is no conviction or verdict of guilty, but sentenced to probation. (1) Criminal detention generally lasts 14 days, with a maximum of 37 days. (2) The period of reconnaissance detention after arrest: generally two months, complicated by the approval of the higher-level procuratorate can be extended by one month, is three months. If there are special circumstances, it may be extended again with the approval of the provincial procuratorate. (3) the procuratorate review of the prosecution period: generally one month, significant and complex, can be extended by half a month. In summary: if not particularly serious criminal cases, after all the procedures, the court did not convict the sentence, or to determine the guilty but sentenced to probation, will generally be in the detention center off five, six months.