Skip to content

Instantly share code, notes, and snippets.

@pablocattaneo
Last active January 11, 2019 11:52
Show Gist options
  • Save pablocattaneo/fa363c770bb0806aab6c3e7676c60e87 to your computer and use it in GitHub Desktop.
Save pablocattaneo/fa363c770bb0806aab6c3e7676c60e87 to your computer and use it in GitHub Desktop.
new Date(year, monthIndex [, day [, hours [, minutes [, seconds [, milliseconds]]]]]);
// Example:
new Date(1982,08,10)
// note that monthIndex Integer value representing the month, beginning with 0 for January to 11 for December.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment