Fixed an issue with the date validation, not taking into account the year 2010