Bharatiya Nagarik Suraksha Sanhita, 2023
Section 517
Exclusion of date on which Court is closed
Where the period of limitation expires on a day when the Court is closed, the Court may take cognizance on the day on which the Court reopens. Explanation.—A Court shall be deemed to be closed on any day within the meaning of this section, if, during its normal working hours, it remains closed on that day.
Why this exists
It would be unreasonable to bar a prosecution simply because the deadline happened to fall on a holiday, weekend, or unexpected court closure, when nobody could have filed anything that day anyway. This provision gives a fair, practical extension to the very next working day. It corresponds to section 471 of the earlier CrPC.