2019年10月23日

格式化时间

摘要: 1 <script> 2 Date.prototype.Format = function (fmt) { //author: meizz 3 var o = { 4 "M+": this.getMonth() + 1, //月份 5 "d+": this.getDate(), //日 6 "h+": this.getHours(), //小时 7 "m+": this.getMinutes(), 阅读全文

posted @ 2019-10-23 11:37 奔驰的码儿 阅读(230) 评论(0) 推荐(0)

导航