The official text
Old and new, side by side
Code of Criminal Procedure, 1973
Section 265I Period of detention undergone by the accused to be set off against the sentence of imprisonment
The provisions of section 428 shall apply, for setting off the period of detention undergone by the accused against the sentence of imprisonment imposed under this Chapter, in the same manner as they apply in respect of the imprisonment under other provisions of this Code.
Bharatiya Nagarik Suraksha Sanhita, 2023
Section 297 Period of detention undergone by accused to be set off against sentence of imprisonment
The provisions of section 468 shall apply, for setting off the period of detention undergone by the accused against the sentence of imprisonment imposed under this Chapter, in the same manner as they apply in respect of the imprisonment under other provisions of this Sanhita.
The texts are India Code’s. The amendment markers and footnotes of the official print are left out, so the old section reads as it stood when it was repealed; State amendments are not shown. The PDFs linked below carry the full history.