People's writ petition after suppression motion granted at special hearing (felony)
30 days after date the defendant's motion was granted at the special hearing, under Cal. Pen. Code 1538.5(o).
Rule text
(o) Within 30 days after a defendant’s motion is granted at a special hearing in a felony case, the people may file a petition for writ of mandate or prohibition in the court of appeal, seeking appellate review of the ruling regarding the search or seizure motion.
Calculate this deadline
- Trigger (Date the defendant's motion was granted at the special hearing): Friday, November 6, 2026.
- Exclude the trigger day and count 30 calendar days: Sunday, December 6, 2026.
- That day is a Sunday, so the deadline moves to the next court day: Monday, December 7, 2026 (Cal. Code Civ. Proc. 12, 12a, 10; Gov. Code 6800, 6804, 6806; Cal. Rules of Court, rule 1.10 (for periods set by the Rules of Court)).
Cal. Pen. Code 1538.5(o)
(o) Within 30 days after a defendant’s motion is granted at a special hearing in a felony case, the people may file a petition for writ of mandate or prohibition in the court of appeal, seeking appellate review of the ruling regarding the search or seizure motion.Official source
Cal. Code Civ. Proc. 12, 12a, 10; Gov. Code 6800, 6804, 6806; Cal. Rules of Court, rule 1.10 (for periods set by the Rules of Court)
CCP 12: "The time in which any act provided by law is to be done is computed by excluding the first day, and including the last, unless the last day is a holiday, and then it is also excluded." CCP 12a: "(a) If the last day for the performance of any act provided or required by law to be performed within a specified period of time is a holiday, then that period is hereby extended to and including the next day that is not a holiday. For purposes of this section, “holiday” means all day on Saturdays, all holidays specified in Section 135 and, to the extent provided in Section 12b, all days that by terms of Section 12b are required to be considered as holidays.(b) This section applies to Sections 659, 659a, and 921, and to all other provisions of law providing or requiring an act to be performed on a particular day or within a specified period of time, whether expressed in this or any other code or statute, ordinance, rule, or regulation." CCP 10: "Holidays within the meaning of this code are every Sunday and any other days that are specified or provided for as judicial holidays in Section 135." Gov. Code 6800: "The time in which any act provided by law is to be done is computed by excluding the first day, and including the last, unless the last day is a holiday, and then it is also excluded." Gov. Code 6804: "“Month” means a calendar month, unless otherwise expressed." Gov. Code 6806: "A day is the period of time between any midnight and the midnight following." CRC 1.10(a): "The time in which any act provided by these rules is to be performed is computed by excluding the first day and including the last, unless the last day is a Saturday, Sunday, or other legal holiday, and then it is also excluded." CRC 1.10(b): "Unless otherwise provided by law, if the last day for the performance of any act that is required by these rules to be performed within a specific period of time falls on a Saturday, Sunday, or other legal holiday, the period is extended to and includes the next day that is not a holiday."Official source
- If trial is set less than 30 days after the grant, see people_notice_of_intent_to_file_writ. The People may alternatively appeal a 1385 dismissal based on the suppression order (Pen. Code 1238(a)(7)).
- If the clerk's office is closed or inaccessible on the last day (weather, emergency or local closure orders), the deadline may be extended. Check local orders.
This calculator applies the cited rules to the dates you enter. It is not legal advice. Court orders, local rules, and case-specific facts can change a deadline; verify before relying on it. Rule set pending attorney review.
Worked example
Date the defendant's motion was granted at the special hearing on Monday, March 15, 2027, personal service: due Wednesday, April 14, 2027.
- Trigger (Date the defendant's motion was granted at the special hearing): Monday, March 15, 2027.
- Exclude the trigger day and count 30 calendar days: Wednesday, April 14, 2027.
Notes
If trial is set less than 30 days after the grant, see people_notice_of_intent_to_file_writ. The People may alternatively appeal a 1385 dismissal based on the suppression order (Pen. Code 1238(a)(7)).
Related deadlines
- Petition for writ of prohibition after denial of Pen. Code 995 motion (15 days after)
- Defendant's writ petition after denial of suppression motion at special hearing (felony) (30 days after)
- People's notice of intention to file writ petition when trial is set within 30 days (10 days after)
- People's writ petition to review a grant of probation (felony) (60 days after)
- People's writ petition to review a grant of probation (misdemeanor or infraction) (60 days after)
Local rules by county
County local rules and courtroom procedures can add to or change this deadline. Pick a county to calculate with them applied.
- Alameda
- Alpine
- Amador
- Butte
- Calaveras
- Colusa
- Contra Costa
- Del Norte
- El Dorado
- Fresno
- Glenn
- Humboldt
- Imperial
- Inyo
- Kern
- Kings
- Lake
- Lassen
- Los Angeles
- Madera
- Marin
- Mariposa
- Mendocino
- Merced
- Modoc
- Mono
- Monterey
- Napa
- Nevada
- Orange
- Placer
- Plumas
- Riverside
- Sacramento
- San Benito
- San Bernardino
- San Diego
- San Francisco
- San Joaquin
- San Luis Obispo
- San Mateo
- Santa Barbara
- Santa Clara
- Santa Cruz
- Shasta
- Sierra
- Siskiyou
- Solano
- Sonoma
- Stanislaus
- Sutter
- Tehama
- Trinity
- Tulare
- Tuolumne
- Ventura
- Yolo
- Yuba
Rules current as of 2026-10-25. Confirm against the official source and any local rule or court order before relying on a date. Rules changelog.