Change WordPress post date

Sometimes you need to create a post in the past or change the date of an existing post, but WordPress doesn’t allow you to change the permalink date. In fact, it is very easy to change a post date to both a past one or a future one.