js获取当前年月日

js获取当前年月日

js如何获取当前时间相关介绍,var date = new Date(); date .getYear(); //获取当前年份(2位) date .getFullYear(); //获取完整的年份(4位) date .getMon…

/cache