delivered the opinion of the court:
The defendant, James Denier, appeals from a judgment which revoked his sentence of 18 months probation (for a second conviction of theft of property not exceeding *150 in value), and which sentenced him
The sentencing election issue arises from the meaning of the word “sentenced” as used in the amendatory act. As pertinent the act provides:
" e If the defendant has not been sentenced before the effective date of the amendatory Act of 1977, he shall have the right to elect to be sentenced under the law as it existed at the time of his offense or under the law in effect on and after the effective date of this amendatory Act of 1977. If a sentence has been imposed before the effective date of this amendatory Act of 1977, the defendant shall not have the right of election even though his case has not been finally adjudicated on appeal; * ” Ill. Rev, Stat. 1977 Supp., ch. 38, par. 1008 — 2—4(b).
In People v. Grant (1978),
This argument has been decided in People v. Perkins (1979),
“If any penalty, forfeiture or punishment be mitigated by any provisions of a new law, such provisions may, by the consent of the party affected, be applied to any judgment pronounced after the new law takes effect.”
He reasons that since no judgment had been entered revoking his probation prior to the amendatory act the savings clause applies. We cannot agree.
The defendant received a sentencing hearing prior to the imposition of the sentence of probation and this was a “sentencing stage” of the proceedings, and that a final sentencing judgment was entered from which defendant could appeal. (See People v. Perkins (1979),
“° ° ° does not give the defendant the right to be sentenced under a law not in full force and effect at the time of his sentence. It could only apply to those classes of cases in which a new law had become effective prior to the date of the actual sentence. [Citations.]” (People v. Lisle (1945),390 Ill. 327 , 328.)
See also People v. Knudsen (1946),
Here, the record shows that the defendant was sentenced to 18 months probation on January 5, 1977, following a theft conviction on October 20, 1976, being his second conviction for theft of property not exceeding $Í50 in value and after a sentencing hearing. The fact that he was subsequently sentenced, on revocation of probation, for the original offense does not give him the right to be sentenced under an act which did not become effective until after the date of his sentence of probation. Moreover, section 4 is essentially a general “saving clause” applicable when a statute is repealed without a particular legislative statement of retroactivity. The amendatory act of 1977 particularized the class of persons who, not having been sentenced prior to the amendment, were eligible to opt for its provisions; it does not apply if final relief has been granted, as here, prior to the repeal of the former sentencing act. Cf. People ex rel. Rudman v. Rini (1976),
We also reject defendant’s argument that he is entitled to further credit on his sentence. It is agreed that time served on probation is to be credited “unless the court orders otherwise” (Ill. Rev. Stat. 1977 Supp., ch. 38, par. 1005 — 6—4(i)). The court gave credit to a defendant for time spent by him in custody on a revocation charge and gave credit for 28
In People v. Dixon (1976),
Here, the trial court gave credit for time spent in custody on the charges and also credit for time served in periodic imprisonment and referred to a “total allowance” of 30 days. Implicitly, this was a judicial order denying credit for the time during which defendant was on unconfined probation.
The judgment is affirmed.
Affirmed.
NASH and LINDBERG, JJ., concur.
