A crime is deemed to have been committed at the time when the perpetrator or accessory acted or, in case of an omission, should have acted. The time when the harm takes place is not determinative.