Skip to content

Instantly share code, notes, and snippets.

@sy
Created August 28, 2015 12:53
Show Gist options
  • Save sy/88f2a6b1ad44acbc35ec to your computer and use it in GitHub Desktop.
Save sy/88f2a6b1ad44acbc35ec to your computer and use it in GitHub Desktop.
Tarih kontrolü
function isDate(y,m,d) {
a = new Date(y,m-1,d);
b = a.getFullYear() + (a.getMonth()+1) + a.getDate();
return ((y + m + d)==b);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment