In a misdemeanor or infraction case, after a plea, finding, or verdict of guilty, or after a finding or verdict against the defendant on a plea of former conviction or acquittal, or once in jeopardy, the court shall appoint a time for pronouncing judgment which shall be not less than six hours, nor more than five days, after the verdict or plea of guilty, unless the defendant waives the postponement. The court may extend the time for not more than 10 days for the purpose of hearing or determining any motion for a new trial, or in arrest of judgment. The court also may extend the time for not more than 20 judicial days if probation is considered. Upon request of the defendant or the probation officer, that time may be further extended for not more than 90 additional days. In case of postponement, the court may hold the defendant to bail to appear for judgment. If, in the opinion of the court there is a reasonable ground for believing a defendant insane, the court may extend the time of pronouncing judgment and may commit the defendant to custody until the question of insanity has been heard and determined.
If the defendant is a veteran who was discharged from service for mental disability, upon his or her request, his or her case shall be referred to the probation officer, who shall secure a military medical history of the defendant and present it to the court together with a recommendation for or against probation.
Ca. Pen. Code § 1449