Date.prototype.format = function (fmt){
var o = {
"M+":this.getMonth()+1,
"d+":this.getDate(),
"h+"
好用的时间格式化函数
最新推荐文章于 2024-06-07 17:25:22 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
Date.prototype.format = function (fmt){
var o = {
"M+":this.getMonth()+1,
"d+":this.getDate(),
"h+"