When an act is required or allowed to be done at or within a specified time, a court for cause shown may at any time in its discretion:
However, a court may not extend the time for taking an action under chapter 23A-23, chapter 23A-29, chapter 23A-30, or § 23A-31-1, except to the extent and under the conditions stated in those chapters and section.
SDCL 23A-41-2