Before revision: In the last two decades of the 20th century, the gender was often used as a synonym for sex in its non-copulatory senses.
After revision: During last two decades of the 20th century, the gender was often used as a synonym for sex in its non-copulatory senses.