a number representing the month, 0 for January, 1 for February, ... You can use this as a key to an array of month names or add one to the number to get a human readable month
EXAMPLE: now.getMonth()
getDate()
the day of the month as a number from 1 to 31
EXAMPLE: now.getDate()
getDay()
the day of the week as a number from 0 to 6 where 0 represents Sunday and 6 represents Saturday
EXAMPLE: now.getDay()
getFullYear()
returns the four digit year
EXAMPLE: now.getFullYear()
getYear()
returns the two digit year OR the four digit year minus 1900, you should probably avoid using this in favor of getFullYear()
EXAMPLE: now.getYear()
getHours()
hour of the day on a 24 hour clock (0 to 23)
EXAMPLE: now.getHours()
getMinutes()
minutes after the hour (0 to 59)
EXAMPLE: now.getMinutes()
getSeconds()
seconds of the minute (0 to 59)
EXAMPLE: now.getSeconds()
getMilliseconds()
millionths of a second (0 to 999)
EXAMPLE: now.getMilliseconds()
getTimezoneOffset()
Offset from UTC time in minutes
EXAMPLE: now.getTimezoneOffset()
getTime()
current time in native JavaScript format, Milliseconds since January 1st, 1970. This is often called UNIX time, since the UNIX operating system popularized this time format.
EXAMPLE: now.getTime()