California, United States of America
The following excerpt is from People v. Mathis, B282869 (Cal. App. 2019):
"Persons who remain in custody prior to sentencing receive credit against their prison terms for all of those days spent in custody prior to sentencing, so long as the presentence custody is attributable to the conduct that led to the conviction. ( 2900.5.)" (People v. Duff (2010) 50 Cal.4th 787, 793.) "It is the duty of the court imposing the sentence to determine the date or dates of any admission to, and release from, custody prior to sentencing and the total number of days to be credited pursuant to this section." ( 2900.5, subd. (d).)
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.