Time limit for prosecuting sexual harassment

There is a famous musician in a foreign country who is currently facing allegations of sexual harassment. From what I have heard, some of the women coming forward with these sexual harassment claims surprisingly allege the act occurred more than twenty years ago. While I do not condone the harassment, I cannot help but wonder whether there is a time limit on prosecuting sexual harassment and what is the legal position in Tanzania?
GR, Dar es Salaam

Each country has their own time limit on reporting sexual harassment. Since you have not mentioned this foreign country, we cannot discuss its legal position. In the case of Tanzania, section 138D of the Penal Code, Cap. 16 [R.E 2022] prohibits acts that may amount to the offence of sexual harassment. However, subsection 5 states that no prosecution for an offence under this section shall be instituted or continued where the complaint is made by the alleged victim at any time more than 60 days after the occurrence of the event constituting the offence.