Family Law Questions? Ask a Family Lawyer Online.
You need to file "DV-115" (request to continue domestic violence order) http://www.courts.ca.gov/documents/dv115.pdf
(If you are in a true "Civil Harassment Restraining Order" (as opposed to domestic violence), use form CH-115: http://www.courts.ca.gov/documents/ch115.pdf)
(These are routinely granted, it is easy to complete and easy to present to the court).
This packet IS NOT REQUIRED FOR WHAT YOU NEED, but it does give you information on how to file this kind of motion in a step by step fashion (https://saclaw.org/wp-content/uploads/sbs-requesting-an-ex-parte-order.pdf - it says "order shortening time" - but really the motion is simply to change calendering for the court).
Use the template that I provided above for the "ex parte order" (the motion to "shorten time" - you are asking the court to continue your hearing).
The time frame that you have to continue the hearing is set out by statute:
(f) A temporary restraining order issued under this section shall remain in effect, at the court's discretion, for a period not to exceed 21 days, or, if the court extends the time for hearing under subdivision (g), not to exceed 25 days, unless otherwise modified or terminated by the court.
(g) Within 21 days, or, if good cause appears to the court, 25 days from the date that a petition for a temporary order is granted or denied, a hearing shall be held on the petition for the injunction. If no request for temporary orders is made, the hearing shall be held within 21 days, or, if good cause appears to the court, 25 days, from the date that the petition is filed.