摘要: 参考博客: https://www.cnblogs.com/tugenhua0707/p/3776808.html 代码: Date.prototype.format = function(fmt) { var o = { "M+" : this.getMonth()+1, //月份 "d+" : 阅读全文
posted @ 2021-05-07 16:48 zezhou222 阅读(204) 评论(0) 推荐(0)