摘要: //获取当前时间: var myDate = new Date();//当前时间 var year = myDate.getFullYear();//当前年份 var month = myDate.getMonth() + 1;//当前月份 var day = myDate.getDate();//当前日 var getYear = myDate.getYear(); //获取当前年份(2位... 阅读全文
posted @ 2017-09-27 14:21 LIULIULIU666 阅读(303) 评论(0) 推荐(0) 编辑