delivered the opinion of the court:
The defendant, Lonnie Johns, pleaded guilty to unlawful manufacture of cannabis in violation of section 5(e) of the Cannabis Control Act (Ill. Rev. Stat. 1981, ch. 56V2, par. 705(e)). Defendant was sentenced to pay a fine of $700 pursuant to section 5—9—1.1 of the Unified Code of Corrections (Ill. Rev. Stat. 1981, ch. 38, par. 1005—9—1.1) and to imprisonment for a term of three years. The only issue on appeal concerns credit defendant should have received toward his fine and toward his imprisonment. The State concedes the validity of the defendant’s arguments.
Defendant was arrested on December 13, 1982, and was released on bond on December 14, 1982; therefore, the parties argue defendant should receive credit for one day of incarceration. We conclude, however, that the defendant is entitled to two days’ credit: one for being incarcerated on December 13, 1982, and the other for being incarcerated on December 14, 1982. Section 5—8—7(b) of the Unified Code of Corrections (Ill. Rev. Stat. 1981, ch. 38, par. 1005—8—7(b) states: “The offender shall be given credit on the determinate sentence *** for time spent in custody as a result of the offense for which sentence was imposed ***.” The foregoing section requires that credit be given for all time spent in custody for the same offense (see People v. Scheib (1979),
For the foregoing reasons, the judgment of the circuit court of Union County is affirmed and the cause is remanded with directions as stated above in this opinion.
Affirmed and remanded with directions.
JONES and KARNS, JJ., concur.
