Checking if month is 1 - 12 only

hope it helps :)