The precise time at which the offense was committed need not be stated in the accusatory pleading, but it may be alleged to have been committed at any time before the finding or filing thereof, except where the time is a material ingredient in the offense.