js 关于日期
摘要:new Date() 获取当前的完整日期 : 如 2016-12-30 new Date().getFullYear() 获取当前的年份 new Date().getMonth() 获取当前的月份(0-11) 注意: 可以用: new Date().getMonth() + 1 new Date()
阅读全文
posted @ 2016-12-30 10:55
posted @ 2016-12-30 10:55
posted @ 2016-12-13 15:54