Nothing in this article is legal advice. It explains how the counting rules in the California Code of Civil Procedure work so you can check your own math, and every date should be confirmed against the governing statute and your court's local rules before you rely on it.
Count it instead of reading it
Enter a hearing date and the paper you are filing, and get the last day to serve with the rule that produced it.
The reason California deadlines get miscounted so often is that two different clocks run in the same case. Most of what a litigator does day to day is measured in calendar days: statutes of limitations, discovery response windows, the time to answer a complaint. Motion practice is measured in court days, counted in the opposite direction. Use the wrong clock and the date you produce is not slightly off, it is off by roughly a third.
What is a court day in California?
A court day is a day the courts are open for business. Code of Civil Procedure section 133 declares every Saturday and every Sunday a judicial holiday, and section 135 pulls in the state holidays listed in Government Code section 6700 with a few carve-outs. What survives is fourteen closure days a year plus every weekend. None of those days receive a number when you are counting court days.
Three of California's fourteen are not federal holidays at all: Lincoln Day on February 12, Farmworkers Day (still widely called Cesar Chavez Day) on March 31, and Native American Day on the fourth Friday in September. The courts also close the day after Thanksgiving, which the federal courts do not. Meanwhile California courts stay open on Columbus Day, which federal courts observe. A default calendar app will get all five of those wrong.
The three counting rules you actually use
Almost every California deadline question resolves into one of three short statutes. Learning which one applies is most of the work.
| Statute | What it does | When it applies |
|---|---|---|
| CCP 12 | Exclude the first day, include the last day | Every computation, in both directions |
| CCP 12a | If the last day is a holiday, extend to the next court day | Deadlines counted forward from an event |
| CCP 12c | Count backward from the hearing date, then count any service extension backward from that result | Anything due a set number of days before a hearing |
Section 12c is the one people skip, and it carries a second instruction that matters. Subdivision (b) says extra days for the method of service are counted backward from the date the base period produced, not added to the hearing date first. Doing it in the wrong order can move your deadline by several days when a weekend sits in the gap.
How to count 16 court days before a hearing
Under section 1005(b), moving papers must be served and filed at least 16 court days before the hearing. Opposition is due 9 court days before, and the reply 5 court days before. Here is the count worked out against a real calendar.
Say the motion is set for Tuesday, April 7, 2026. Exclude the hearing day. Monday, April 6 is court day one. Friday, April 3 is court day two, because the weekend in between is skipped. Keep stepping backward. When you reach Tuesday, March 31, skip it: that is Farmworkers Day, and California courts are closed. Continue until you reach sixteen, and you land on Friday, March 13, 2026.
March 13 to April 7 is 25 calendar days. That is the point worth internalizing: a 16 court day notice period eats roughly three and a half weeks of real time, and a single judicial holiday inside the window pushes it a further day earlier. Firms that reserve a hearing date without counting backward first routinely discover they have already missed the service deadline for the motion they were planning to file.
On the same hearing date, opposition would be due Tuesday, March 24, and the reply Monday, March 30. Note that the five court day reply period covers eight calendar days, because it spans a weekend. Every one of these numbers looks smaller than it is.
Does electronic service change the count?
Yes, for the moving party. Section 1010.6(a)(4)(B) extends a statutory notice period by two court days when the document is served electronically, so e-served moving papers go out 18 court days before the hearing rather than 16. Because the extension is measured in court days rather than calendar days, it can reach back much further than two days: across Thanksgiving week, when California closes on both Thanksgiving and the Friday after it, two court days spans six calendar days.
What electronic service does not do is move the opposition or the reply. Those dates are tied to the hearing, not to the date of service, so they count backward from the hearing regardless of how the motion arrived. This is a frequent and expensive misreading: an opposing party who assumes e-service bought them two extra court days files late.
Mail extensions work differently again. Section 1005(b) adds 5 calendar days for mail within California, 10 for mail elsewhere in the United States, and 20 for mail outside the country, and overnight delivery or fax adds 2 calendar days. Electronic service is the only method measured in court days, which is exactly why it trips people up.
When you count forward instead
Not everything runs backward. Deadlines triggered by an event rather than a hearing count forward in calendar days, and section 12a supplies the tie-break: if the last day lands on a Saturday, Sunday or judicial holiday, the deadline extends to the next court day. The intervening weekends and holidays still count toward the total. Only the last day matters.
Summary judgment sits in this camp even though it is measured against a hearing. Section 437c(a)(2) requires service at least 81 days before the hearing, with opposition due 20 days before and the reply 11 days before, and all three run in calendar days rather than court days. Those numbers changed on January 1, 2023, up from 75, 14 and 5. Firm checklists written before that amendment are still in circulation, and the old numbers will produce an untimely motion.
Where the governing rule actually lives
The statute is only the first layer. Individual superior courts set their own reservation systems, courtesy copy requirements and page limits, and a department can have standing orders that tighten a deadline the Code leaves open. A date that satisfies section 1005(b) can still miss a Los Angeles or San Francisco requirement about when chambers copies arrive.
In practice those requirements are scattered across a court's website, a scheduling order buried in the matter file, and whatever the last associate who appeared in that department wrote down. Being able to search across everything the firm has already written is usually faster than re-reading the local rules from scratch, and it is the difference between checking a standing order in a minute and guessing at it.
Do you count weekends for court deadlines?
It depends entirely on the unit the rule uses. In a court day period, weekends and judicial holidays are skipped as you count and never receive a number. In a calendar day period, every intervening weekend and holiday counts toward the total, and the closure only matters if the deadline itself lands on one. The question is never "do weekends count" in the abstract. It is "does this rule say days or court days," and the answer is in the statute.
We covered the federal side of this question separately in do you count weekends for court deadlines, which walks through FRCP 6(a). The federal rule counts calendar days forward from a triggering event and only rolls the last day, so the same facts produce a different date in state and federal court.
A short checklist before the papers go out
- 1. Confirm whether the rule says days or court days. Everything else follows from that.
- 2. Count backward from the hearing, excluding the hearing day, skipping every closure.
- 3. Apply the service extension backward from the date you landed on, not from the hearing.
- 4. Check the range for Lincoln Day, Farmworkers Day, Native American Day and the day after Thanksgiving.
- 5. Read the department's standing order for anything the Code does not cover.
Counting by hand is fine for one motion. It stops being fine at thirty active matters, where the real failure mode is not a miscount but a continuance: the hearing moves, and every dependent date silently becomes wrong. That is the argument for legal calendaring and docketing software that recalculates a chain of deadlines when the anchor date changes, and for keeping deadlines attached to the case file rather than in a shared calendar nobody owns. Caseagent takes the second approach: it reads the scheduling order and calendars the dependent dates inside the matter, which you can see in automated deadline tracking.
For the arithmetic itself, the California court deadline calculator applies these rules and shows which one it used. If your matter is in federal court, the federal court date calculator handles Rule 6(a) counting instead.
Stop recounting on every motion
Caseagent keeps the docket inside the case file and tells you what moved when a hearing moves.