getYear() | 返回年份数 |
getFullYear() | 返回年份数 |
getMonth() | 返回月份数(0--11) |
getDate() | 返回日期数(1--31) |
getDay() | 返回星期数(0--6) |
getHours() | 返回时数(0--23) |
getMinutes() | 返回分数(0--59) |
getSeconds() | 返回秒数(0--59) |
getMilliseconds() | 返回毫秒数(0--999) |
getTime() | 返回对应日期基线的毫秒 |
Date.parse(日期字串) | 返回对应日期基线的毫秒 |
setTime(时间值) | 指定一日期对象的值 |
toGMTString() | 以GMT格式表示日期对象 |
toUTCString() | 以GMT格式表示日期对象 |