This section applies where—
This section also applies where—
In this section any reference to a "sentence", in relation to an offender, is to—
It is immaterial for the purposes of subsection (1)(b) or (1A)(b) whether, for all or part of the period during which the offender was remanded in custody, the offender was also remanded in custody in connection with other offences (but see subsection (5)).
If, on any day on which the offender was remanded in custody, the offender was also detained in connection with any other matter, that day is not to count as time served.
A day counts as time served—
A day is not to count as time served as part of any automatic release period served by the offender (see section 255B(1)).
Where a court has made a declaration under section 327 of the Sentencing Code in relation to the offender in respect of the offence, this section applies to days specified under subsection (3) of that section as if they were days for which the offender was remanded in custody in connection with the offence or a related offence.
For the purposes of this section a suspended sentence—
In this section "related offence" means an offence, other than the offence for which the sentence is imposed ("offence A"), with which the offender was charged and the charge for which was founded on the same facts or evidence as offence A.
Subsection (9) applies in relation to an offender who is sentenced to two or more consecutive sentences or sentences which are wholly or partly concurrent if—
For the purposes of subsections (3) and (5), the sentences are to be treated as a single sentence.
The reference in subsection (4) to detention in connection with any other matter does not include remand in custody in connection with another offence but includes—
This section applies to a determinate sentence of detention under section 91 or 96 of the PCC(S)A 2000, under section 250, 252A, 254, 262, 265 , 266 or 268A of the Sentencing Code or under section 226A, 226B, 227, 228 or 236A of this Act as it applies to an equivalent sentence of imprisonment.