validate input date javascript code example
Example: how to validate input type=date in javascript
function isValidDate(d){
return !isNaN((new Date(d)).getTime());
}
function isValidDate(d){
return !isNaN((new Date(d)).getTime());
}