If the offense charged in the warrant is bailable, and the defendant is arrested in another county, the officer must, upon being required by the defendant, take the defendant before the most convenient magistrate in that or any adjoining county, who must admit the defendant to bail in the amount fixed in the warrant and take bail from the defendant accordingly, naming therein a time, not more than 10 days after the time of taking such bail, for the defendant to appear before the court in which the warrant was issued; or, in case the court is not in session at the time so fixed for the defendant to appear, for the defendant to appear before the court in which the warrant was issued at the first time it is in session thereafter.
NRS 173.165