Criminal Procedure (Scotland) Act 1975

218Consideration of time spent in custody

A court, in passing a sentence of imprisonment or detention in a young offenders institution as defined in section 31(1)(d) of the [1952 c. 61.] Prisons (Scotland) Act 1952 on a person for any offence, shall, in determining the period of imprisonment or detention, have regard to any period of time spent in custody by that person on remand awaiting trial or sentence.