If you are suspected of committing a crime, the time spent in the detention center includes the period of criminal detention, the period of investigation and detention after arrest, and the period for the procuratorate to review the prosecution. Those who are on probation can be released. (1) Criminal detention is generally 14 days, with a maximum of 37 days. (2) The period of investigation and detention after arrest is generally two months. In complex cases, it can be extended by one month to three months with the approval of the higher-level procuratorate. Under special circumstances, it can be extended with the approval of the provincial procuratorate. (3) The time limit for the procuratorate to review and prosecute: Generally, it is one month. If the case is serious and complicated, it can be extended by half a month. To sum up: If it is not a particularly serious criminal case, and after all procedures are completed and the court does not convict or sentence the offender, or the offender is convicted but sentenced to probation, he or she will generally be detained in a detention center for five or six months.