摘要:
/** * * 获取当前时间 */ function getNow(s) { return s < 10 ? '0' + s: s; } var myDate = new Date(); //获取当前年 var year=myDate.getFullYear(); //获取当前月 var month=myDate.getMonth()+1; //获取当前日 var date=m... 阅读全文
posted @ 2016-08-22 11:09
小啊菜鸡
阅读(134983)
评论(0)
推荐(2)