Last active
January 11, 2019 11:52
-
-
Save pablocattaneo/fa363c770bb0806aab6c3e7676c60e87 to your computer and use it in GitHub Desktop.
How to load a date in Javascript? #javascript source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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