Skip to content

Instantly share code, notes, and snippets.

@fabienb
Created October 11, 2013 17:43
Show Gist options
  • Select an option

  • Save fabienb/6938970 to your computer and use it in GitHub Desktop.

Select an option

Save fabienb/6938970 to your computer and use it in GitHub Desktop.
function parseJsonDateTime(obj) {
return new Date(obj.match(/\d+/) * 1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment