Tbe respondent applied to tbe district court for a writ of certiorari to compel tbe appellant, a justice of tbe peace, to certify to that court for review tbe case of Tar-pey and Phillips against said Charles Ducheneau, then in the justice’s court. Summons bad been served on Duch-eneau, tbe defendant in that action, on tbe thirtieth day of March, 1885, at nine p. m., in tbe precinct where tbe justice held court. Tbe answer of Ducheneau was not filed until tbe fourth day of April, 1885, although be bad sent it to tbe justice on tbe third day of April. Judgment was •rendered against tbe defendant, Ducheneau, on tbe morning of tbe fourth of April. Tbe answer of tbe defendant, Ducheneau, was received by tbe justice, and receipt thereof acknowledged on tbe same fourth day of April. Despondent claimed that as defendant in that action be bad all of tbe fourth day of April in which to file answer, and that tbe justice exceeded bis jurisdiction in giving judgment before tbe five days time for answering bad expired. The district court granted tbe writ of certiorari, and upon tbe bearing adjudged and decreed that tbe judgment in tbe justice court be reversed and annulled. From tbe decision and judgment of tbe district court, tbe appellant (House) has brought tbis case to tbis court.
In our civil procedure act it is provided that if the defendant in an action before a justice of tbe peace be served with summons in tbe precinct in which the' action is brought, be must appear and answer tbe complaint “within five days:” Laws of 1884, p. 288, sec. 718.
*366It is further provided in said act as follows: “Sec. 8. The time in which any act provided by law is to be done is computed by excluding the first day and including the last day, unless the last day is a holiday, and then it is also excluded.”
In counting the five days we are^ not to count the first day, that is, the thirtieth of March, but are to count the fifth day, that is, the fourth of April. Beginning then with the thirty-first of March as one day, and counting the first four days of April, we have the five days within which the defendant in that action was authorized to answer.
It is sometimes said that when an act is authorized to be done after a fixed number of days’ notice, the doing of the act on the last of such days is a compliance with the- statute. Such is the ruling in Misch v. Mayhew, 51 Cal., 514, in which the court held that where a “three days’ notice” was required of an act proposed to be done, the doing of it on the third day was a compliance with the statute. But if, in such a case, the party had been authorized to do an act “within” three days, we are inclined to think the court would not have excluded it if done at any time on the third day.
It is claimed by appellant that the sections we have quoted, together with section 723 of'the same act, require the justice to fix in the summons-aif' 'hour for the appearance of the defendant in any case before him, and that as the justice fixed 10 a. m., of the fifth day for the defendant in said action before him to appear, that the justice, after waiting one hour after that time, was justified in entering default and judgment. The words “time fixed in the summons,” as found in said section 723, presuppose some antecedent provision requiring a time to be fixed. We find such provision in section 718 of the same act. But in this latter section we find that, instead of the words “time fixed,” it speaks of the “time specified” in the summons. And according to said section 718, the “time specified” in the summons is five days, if the party be served with summons in the precinct in which the action is brought; and ten days if served out of the precinct, yet in the county, and twenty days if served elsewhere. *367We find nothing in said section or elsewhere in regard to the fixing of an hour for the appearance of the defendant. If the justice should assume to fix an hour, lie would have to fix an hour on each of three different days, to suit the five days, the ten days, and the twenty days specified in the summons; but we see no reason for fixing an hour whatever, further than is fixed by the five, ten, or twenty days’ limit.
The statute, in section 723, provides for the justice to fix a day for trial, but that is after appearance, and possibly the words “time fixed in the summons,” as specified in section 723, should be the “time fixed in the notice,” as notice is specified prior thereto in said section. But section 757 requires the justice to wait one hour after the “time specified in the summons,” thus making it immaterial, so far as this case is concerned, whether the word should be “summons” or “notice.”
The appearance of the defendant on the fifth day was within time, and the justice had no authority to enter default or judgment until said five days had expired, and judgment entered before the expiration* of said five days was error, and the defendant was, as we think, entitled to have his answer filed as of that day, and to be heard thereon.
Notwithstanding the foregoing views in the case at bar, the appellant maintains that the allowance of the writ of certiorari was error, as respondent was entitled to an appeal from the judgment of the justice. The code of civil procedure (Laws of 1884, p. 322, sec. 951) provides for the issuance of the writ of certiorari when the tribunal, etc., “has exceeded the jurisdiction of such tribunal, etc., and there is no appeal, nor, in the judgment of the court, any plain, speedy, and adequate remedy.” And section 854 of the same code allows “any party dissatisfied with a judgment rendered in a justice’s court” to appeal therefrom to the district court. In the case of Golding v. Jennings, 1 Utah, 135, the court says that where the court in which the case sought to be reviewed is pending, has no jurisdiction of the subject-matter, that a writ of certi-orari is proper, notwithstanding the statute gives the *368party the right to an appeal, for the appeal in such a case would not be an adequate remedy.
The casé at bar is an action for trespass and damages under three hundred dollars. Such an action is within the general jurisdiction of a justice’s court, and hence an appeal would be an adequate remedy. Whether the court, in Golding v. Jennings, was correct in saying that a writ of certiorari would be proper when the court below acted without its jurisdiction, and did not simply exceed it, it is not now necessary for us to decide; but where the justice is acting within his general jurisdiction as to the subject-matter, but exceeds his jurisdiction as to the party by rendering judgment before the time to answer has expired, and relief by way of appeal is open to the party, we think he is bound to resort to the appeal. We cannot see wherein it is not an adequate remedy. We think, therefore, that the justice ought to have allowed the answer of respondent to have been filed; but, it not having been doné, the respondent herein should have taken his appeal from the judgment of the justice to the district court. The judgment of the district court, therefore, is reversed and remanded, with directions to the district court to quash and dismiss the writ.
Zane, C. J., and Powers, J., concurred.