Section 45-45-233.21
Reporting to jail.
Any person who has been sentenced to the Madison County Jail or any city jail within Madison County and who has been ordered released under Section 45-45-233.20, may at the time of sentence or at any time while any part thereof remains unserved, be required by the sentencing court to report to the jail to which he or she has been sentenced to be incarcerated during weekends or at such times or intervals of time as the court may direct. Time so spent in jail shall be deducted from the term of the sentence. Any part of a day spent in the institution shall count as a full day toward the sentence. In no event shall the number of days confinement exceed the number of days in the original sentence. (Acts 1978, No. 488, p. 530, § 2.)