年 月 日 的獲取
?document.write(
? ? ? currentDate.getFullYear() + "年" +?
? ? ? (currentDate.getMonth() + 1) + "月" +?
? ? ? currentDate.getDate() + "日" + " " +?
? ? ? weekday[currentDate.getDay()]
? ? ? );
月份那里為什么加了1??
?document.write(
? ? ? currentDate.getFullYear() + "年" +?
? ? ? (currentDate.getMonth() + 1) + "月" +?
? ? ? currentDate.getDate() + "日" + " " +?
? ? ? weekday[currentDate.getDay()]
? ? ? );
月份那里為什么加了1??
2016-02-18
舉報
2016-02-18
月份是從零開始算的
2016-02-18
月份是從零開始算的
2016-02-18
月份是從0開始的
2016-02-18
y月份是從0開始的一直到11