when the offence was committed