HTML-563 Added date validation