California Codes, Code of Civil Procedure - CCP, Part 2 — Of Civil Actions, Title 6 — Of the Pleadings in Civil Actions, Chapter 8 — Variance—Mistakes in Pleadings and Amendments, Section 472b
When a demurrer to any pleading is sustained or overruled, and time to amend or answer is given, the time so given runs from the service of notice of the decision or order, unless the notice is waived in open court, and the waiver entered in the minutes. When an order sustaining a demurrer without leave to amend is reversed or otherwise remanded by any order issued by a reviewing court, any amended complaint shall be filed within 30 days after the clerk of the reviewing court mails notice of the issuance of the remittitur.
Notes
Sets amendment or answer time following a ruling on a demurrer from service of notice of the decision or order, unless notice is waived in open court and recorded in the minutes. After reversal or remand of an order sustaining a demurrer without leave, an amended complaint is due within 30 days after remittitur notice is mailed.
Use as reference
Lexinter.net | California Code, Code of Civil Procedure - CCP § 472b | https://laws.lexinter.net/codes/california/code-of-civil-procedure/part-2/title-6/chapter-8/section-472b