deduzindo data inválida em js
function isValidDate(d) {
return d instanceof Date && !isNaN(d);
}
Muddy Mouse
function isValidDate(d) {
return d instanceof Date && !isNaN(d);
}