Created
October 1, 2014 16:03
-
-
Save awkale/88d36765da517918ac4d to your computer and use it in GitHub Desktop.
javascript dates
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
getDate() Returns the day of the month (from 1-31) | |
getDay() Returns the day of the week (from 0-6) | |
getFullYear() Returns the year (four digits) | |
getHours() Returns the hour (from 0-23) | |
getMilliseconds() Returns the milliseconds (from 0-999) | |
getMinutes() Returns the minutes (from 0-59) | |
getMonth() Returns the month (from 0-11) | |
getSeconds() Returns the seconds (from 0-59) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment