Returns true if the day of the month is valid (a day is valid if it's between 1 and 31 inclusive).
day to check
true if the day is valid