摘要:
Date.prototype.format=function (){var s='';s+=this.getFullYear()+'-';// 获取年份。s+=(this.getMonth()+1)+"-"; // 获取月份。s+= this.getDate(); // 获取日。return(s); 阅读全文
posted @ 2016-05-12 11:31 preface小贝 阅读(1777) 评论(0) 推荐(0)
|
摘要:
Date.prototype.format=function (){var s='';s+=this.getFullYear()+'-';// 获取年份。s+=(this.getMonth()+1)+"-"; // 获取月份。s+= this.getDate(); // 获取日。return(s); 阅读全文
posted @ 2016-05-12 11:31 preface小贝 阅读(1777) 评论(0) 推荐(0) |
||