(b)(1) Sentence shall be imposed in open court within sixty days from the date of the finding of guilt except where sentence is required to be imposed within a lesser period under the provisions of subdivision (2) of this subsection.
(2) Sentence shall be imposed in open court upon a defendant in custody on or before the date of the expiration of the time equivalent to the maximum sentence that may be imposed for the offense. In determining the date, the magistrate shall include in the computation any credit to which the defendant is entitled for the time of confinement spent by the defendant in jail awaiting trial and sentencing.