Update validation.php

When validating just a year with valid_date[Y], the $parsed array does not contain a month or day, and so the next call to date with mktime returns a incorrect year (-1 it seems)