|
Date() |
Returns today's date and time |
|
|
parse(datestring) |
Takes a date string and returns the number of milliseconds since midnight of January 1, 1970 |
|
|
getDate() |
Returns the day of the month from a Date object (from 1-31) |
|
|
getDay() |
Returns the day of the week from a Date object (from 0-6) |
|
|
getFullYear() |
Returns the year in four-digit number of the specified date according to local time |
|
|
getHours() |
Returns the hour of a Date object (from 0-23) |
|
|
getMilliseconds() |
Returns the milliseconds of a Date object (from 0-999) |
|
|
getMinutes() |
Returns the minutes of a Date object (from 0-59) |
|
|
getMonth() |
Returns the month from a Date object (from 0-11) |
|
|
getSeconds() |
Returns the seconds of a Date object (from 0-59) |
|
|
getTime() |
Returns the number of milliseconds since midnight Jan 1, 1970 |
|
|
setTime(millisec) |
Calculates a date and time by adding or subtracting a specified number of milliseconds to/from midnight January 1, 1970 |
|
|
getTimezoneOffset() |
Returns the difference in minutes between local time and Greenwich Mean Time (GMT) |
|
|
getFullYear() |
Returns the year, as a four-digit number, from a Date object |
|
|
getYear |
Returns the year in the specified date according to local time. Replaced by getFullYear() |
|
|
setDate(day) |
Sets the day of the month in a Date object (from 1-31) |
|
|
setFullYear(year[,month,day]) |
Sets the year in a Date object (four digits) |
|
|
setHours(hour,min[,sec,millisec]) |
Sets the hour in a Date object (from 0-23) |
|
|
setMilliseconds(millisec) |
Sets the milliseconds in a Date object (from 0-999) |
|
|
setMinutes(min[,sec,millisec]) |
Set the minutes in a Date object (from 0-59) |
|
|
setMonth(month[,day]) |
Sets the month in a Date object (from 0-11) |
|
|
setSeconds(sec[,millisec]) |
Sets the seconds in a Date object (from 0-59) |
|
|
setYear(yearValue) |
Sets the year for a specified date according to local time |
|
|
toLocaleString() |
Converts a Date object, according to local time, to a string |
|
|
getUTCDate() |
Returns the day of the month from a Date object according to universal time (from 1-31) |
|
|
getUTCDay() |
Returns the day of the week from a Date object according to universal time (from 0-6) |
|
|
getUTCMonth() |
Returns the month from a Date object according to universal time (from 0-11) |
|
|
getUTCFullYear() |
Returns the four-digit year from a Date object according to universal time |
|
|
getUTCHours() |
Returns the hour of a Date object according to universal time (from 0-23) |
|
|
getUTCMinutes() |
Returns the minutes of a Date object according to universal time (from 0-59) |
|
|
getUTCSeconds() |
Returns the seconds of a Date object according to universal time (from 0-59) |
|
|
getUTCMilliseconds() |
Returns the milliseconds of a Date object according to universal time (from 0-999) |
|
|
setUTCDate(day) |
Sets the day of the month in a Date object according to universal time (from 1-31) |
|
|
setUTCMonth(month[,day]) |
Sets the month in a Date object according to universal time (from 0-11) |
|
|
setUTCFullYear(year[,month,day]) |
Sets the year in a Date object according to universal time (four digits) |
|
|
setUTCHours(hour[,min,sec,millisec]) |
Sets the hour in a Date object according to universal time (from 0-23) |
|
|
setUTCMinutes(min[,sec,millisec]) |
Set the minutes in a Date object according to universal time (from 0-59) |
|
|
setUTCSeconds(sec[,millisec]) |
Set the seconds in a Date object according to universal time (from 0-59) |
|
|
setUTCMilliseconds(millisec) |
Sets the milliseconds in a Date object according to universal time (from 0-999) |
|
|
toUTCString() |
Converts a Date object, according to universal time, to a string |
|
|
UTC(year,month,day,[hours,minutes,seconds,ms]) |
Takes a date and returns the number of milliseconds since midnight of January 1, 1970 according to universal time |
|
|
toLocaleTimeString |
??? |
|
|
toDateString |
??? |
|
|
toTimeString |
??? |
|