You can easily create your own, but you should know how Javascript handles non-existent dates:
new Date(2010, 14, 34);
So this would do the trick:
function checkDate(year, month, day){
var d = new Date(year, month, day);
return d.getFullYear() == year &&
d.getMonth() == month &&
d.getDate() == day;
}
source
share