摘要: date 返回的是时间戳格式 new Date().getTime();//格式化为时间字符串 yyyy-mm-dd hh:mm:ssfunction strDate(date, type) { var y = date.getFullYear(), m1 = date.get... 阅读全文
posted @ 2014-12-26 17:19 丑萌嘞 阅读(160) 评论(0) 推荐(0)