Skip to content

Instantly share code, notes, and snippets.

@cprieto
Created February 21, 2012 00:58
Show Gist options
  • Save cprieto/1872667 to your computer and use it in GitHub Desktop.
Save cprieto/1872667 to your computer and use it in GitHub Desktop.
try {
$.datepicker.parseDate('dd/mm/yy', dateText);
} catch (e) {
alert(e);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment