On the thirteenth day of January, 1891, this action was commenced in the superior court of San *366Diego County, to recover the amount due on a promissory note. On the thirtieth day of the same month, a general demurrer to the complaint was filed, signed “E. W. Hendrick, attorney for defendant.” On the 27th of February, the demurrer was overruled, the minute entry of the order being as follows: “ Parties being present by their respective attorneys, the demurrer of defendant to plaintiff’s complaint is at this time overruled for want of oral presentation, and ten days given defendant in which to answer.” No written notice of this order was ever given to or served on the defendant or his attorney. On the 10th of March, no answer having been filed, the clerk of the court entered the default of the defendant, and a judgment against him as prayed for in the complaint. On the 9th of June, an execution was issuéd on the judgment and levied on the property of defendant. On the 24th of July, the defendant moved the court to set aside the default and judgment, and to recall the execution, on the ground that the default and judgment were entered, and the execution issued, without authority and in violation of law, because no notice of the order overruling his demurrer had been served on him or his attorney, or waived by him or his attorney, and because, when a demurrer has been overruled and time given to answer, the clerk has no authority to enter a default or judgment without an order of court directing him to do so. In support of his motion, the defendant offered and read in evidence the judgment roll in the case, and in opposition thereto, the plaintiff offered and read from the minutes of the court the order overruling the demurrer and an affidavit made by one Harry J. Neale. In this affidavit the affiant stated that he was one of the attorneys for the plaintiff in this case, and was present in court on the twenty-seventh day of February, 1891, which was the regular day for the call of the court’s law and motion calendar, and that this case was upon the said calendar, pending upon the defendant’s demurrer to the complaint; “ that E. W. Hendrick, Esq., was and still is the attorney of record for the defendant herein, *367and was present in court upon said day at the call of said calendar; that when said demurrer was called, affiant answered the same ‘ready ’; that when the said demurrer was called for argument, the said E. W. Hendrick stated to the court that he did not desire to argue the same, whereupon the court announced that the said demurrer was overruled for want of oral presentation; that said Hendrick then stated that the defendant would take the usual time to answer, or words to that effect, to which the court assented.”
There was no attempt on the part of the defendant to deny any of the statements made in the affidavit, and after argument the matter was submitted to the court for decision.
The court thereupon made and entered its order vacating and setting aside the default and judgment, and recalling the execution; and from that order the plaintiff appeals.
Section 476 of the Code of Civil Procedure provides that “ 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”; and section 1010 of the same code provides that “ notices must be in writing.” Respondent contends that under these sections the time allowed to answer does not begin to run until written notice of the order is given or waived, and that to constitute a waiver it must be evidenced by stipulation in writing or entry in the minutes of the court. The answer to this contention is, that this court has held otherwise.
In Barron v. Deleval, 58 Cal. 95, a demurrer to the complaint was overruled, and five days allowed to answer. Ho notice in writing of the order was given. Eight days later, no answer having been filed, judgment by default was entered against the defendant. From that, judgment the defendant appealed, and the only point made on the appeal was as to the necessity of written notice. It was shown by the bill of exceptions that “ the defendant was present in court by his attorney of record *368upon argument and ruling on the demurrer, and upon the same being overruled, requested of the court time to answer, and five days’ time to answer was granted.” It was held that written notice was waived, and that judgment by default was rightly entered after the expiration of the time allowed. The court said: “The object of the notice, and the only purpose it can subserve, is to bring home to the attorney knowledge of a fact upon which he is called upon to act. But the right to a written notice, like any other civil right, may be waived, and we think it was waived in this case. Section 3513 of the Civil Code provides that ‘any one may waive the advantage of a law intended for his benefit.’ Section 3528 of the same code provides that ‘ the law respects form less than substance,’ and section 3532 declares that ‘the law neither does nor requires idle acts.’ .... What purpose would a written notice of a fact of which'the attorney had direct and positive knowledge have sub-served ? Would it not have been a vain and idle ceremony to have given him a written notice under the circumstances disclosed in this case? .... To hold that the party and his attorney were not bound by this proceeding, had in open court, would be trifling with justice, and also subversive of sound principles of law and morals.” (And see Mullally v. Benevolent Society, 69 Cal. 559; Gray v. Winder, 77 Cal. 525; Dow v. Ross, 90 Cal. 562.)
It is shown by the order of the court, and by the uncontradicted affidavit of plaintiff’s attorney, that the defendant was present in court by his attorney when his demurrer was overruled, and knew of and acted upon the order. He must therefore be held, under the decision above cited, to have waived written notice of the order.
As to the point that the clerk had no authority to enter the default and judgment without an order of court, a sufficient answer is found in Bailey v. Sloan, 65 Cal. 387, where it is said: “No answer was filed, and the time within which the defendant was granted leave to *369answer having expired, the clerk was authorized to enter his default, and a judgment for the amount specified in the summons.”
It follows, in our opinion, that the order appealed from should be reversed.
Vanclief, C., and Haynes, C., concurred.
For the reasons given in the foregoing opinion, the order appealed from is reversed.
De Haven, J., Sharpstein, J., McFarland, J.