摘要: /** * * 获取当前时间 */ function p(s) { return s < 10 ? '0' + s: s; } var myDate = new Date(); //获取当前年 var year=myDate.getFullYear(); //获取当前月 var month=myDate.getMonth()+1; //获取当前日 var date=myDa... 阅读全文
posted @ 2017-09-05 10:36 Shimily 阅读(443) 评论(0) 推荐(0)