The precise time at which an offense was committed need not be stated in an indictment or information, but it may be alleged to have been committed at any time before the filing thereof, except when the time is a material element of the offense.
SDCL 23A-6-9