Full text
In determining the sentence to be imposed on a person convicted of an offence, a court may take into account any time spent in custody by the person as a result of the offence but the court shall limit any credit for that time to a maximum of one day for each day spent in custody.