California, United States of America
The following excerpt is from The People v. Martin, C063322, No. 08F02360, No. 08F07238 (Cal. App. 2010):
Section 2900.5, subdivision (a) provides in part that: "all days of custody of the defendant, including days served as a condition of probation in compliance with a court order... shall be credited upon his or her term of imprisonment." Because defendant served a jail term as a condition of probation in the first case, he is entitled to credit for that time against his sentence in the first case. (See People v. Cooksey (2002) 95 Cal.App.4th 1407, 1414; People v. Lacebal (1991) 233 Cal.App.3d 1061, 1066.)2
The above passage should not be considered legal advice. Reliable answers to complex legal questions require comprehensive research memos. To learn more visit www.alexi.com.