84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
勇敢站起来快步向前冲是你唯一的出路
How to get the current year, month and date in Js? - PHP Chinese website Q&A - How to get the current year, month and date in Js? - PHP Chinese website Q&A
Take a look around and learn.
var myDate = new Date( );
myDate.getFullYear(); //获取完整的年份(4位,1970-????)
myDate.getMonth(); //获取当前月份(0-11,0代表1月)
myDate.getDate(); //获取当前日(1-31)
How to get the current year, month and date in Js? - PHP Chinese website Q&A - How to get the current year, month and date in Js? - PHP Chinese website Q&A
Take a look around and learn.
var myDate = new Date( );
myDate.getFullYear(); //获取完整的年份(4位,1970-????)
myDate.getMonth(); //获取当前月份(0-11,0代表1月)
myDate.getDate(); //获取当前日(1-31)