摘要: getBeforeDate: function(day, str) { var now = new Date().getTime(); //获取毫秒数 var before = new Date(now - ((day > 0 && day ? day : 0) * 86400 * 1000)); var year = before.getFullYear(); var month = befo... 阅读全文
posted @ 2017-10-16 17:57 abcByme 阅读(846) 评论(0) 推荐(1) 编辑