Finally got the validate day method working.