Date Methods

rightNow contains "".
Method Explanation Code Returns
getDate() Returns the day of the month (1-31). rightNow.getDate()
getDay() Returns the day of the week as a number (0-6, 0=Sunday, 6=Saturday). rightNow.getDay()
getMonth() Returns the month as a number (0-11, 0=January, 11=December). rightNow.getMonth()
getFullYear() Returns the four-digit year. rightNow.getFullYear()
getHours() Returns the hour (0-23). rightNow.getHours()
getMinutes() Returns the minute (0-59). rightNow.getMinutes()
getSeconds() Returns the second (0-59). rightNow.getSeconds()
getMilliseconds() Returns the millisecond (0-999). rightNow.getMilliseconds()
getTime() Returns the number of milliseconds since midnight January 1, 1970. rightNow.getTime()
getTimezoneOffset() Returns the time difference in minutes between the user's computer and GMT. rightNow.getTimezoneOffset()
toLocaleString() Returns the Date object as a string. rightNow.toLocaleString()
toGMTString() Returns the Date object as a string in GMT timezone. rightNow.toGMTString()