California Penal Code § 1237.1
Text of § 1237.1
No appeal shall be taken by the defendant from a judgment of conviction on the ground of an error in the calculation of presentence custody credits, unless the defendant first presents the claim in the trial court at the time of sentencing, or if the error is not discovered until after sentencing, the defendant first makes a motion for correction of the record in the trial court, which may be made informally in writing. The trial court retains jurisdiction after a notice of appeal has been filed to correct any error in the calculation of presentence custody credits upon the defendant’s request for correction.
Cite this section
Cal. Penal Code § 1237.1
https://lawconsensus.com/codes/california/penal-code/1237-1/
LawCensus reproduces the text of the law for reference. It may not show the most recent changes. Check the official source before you rely on it: official text. This is general information, not legal advice.