The Harry Potter Series by JK Rowling is set in modern times.
Harry Potter was born on the 31st of July 1980, and Harry entered Hogwarts in 1991 at age 11, and voldemort was defeated at harry's age of 18 and the end of book 7 was placed 19 years after his defear. so lets do the math, 1980+11 is 1991, 1991+7 is 1998, and 1998+19 is 2017 so the end of book seven takes place in 2017. So the 1st seven harry potter books take place from 1980-2017. MHood2 was waaaay off base.