Get the first and last dates of the next and following months in PHP