In determining for the purposes of this Chapter ... whether a person to whom section 240ZA applies or a direction under section 240A or under section 325 of the Sentencing Code relates —
the number of days specified in section 240ZA or in the direction under section 240A or under section 325 of the Sentencing Code are to be treated as having been served by him as part of that sentence or period.
In subsection (1) the reference to section 240ZA includes section 246 of the Armed Forces Act 2006.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .