摘要: JS日期时间格式化的方法 Date.prototype.format = function (format) { /* * eg:format="YYYY-MM-dd hh:mm:ss"; */ var o = { "M+": this.getMonth() + 1, //month "d+": t 阅读全文
posted @ 2022-08-12 10:18 武穆逸仙 阅读(895) 评论(1) 推荐(0) 编辑

为天地立心 为生民立命 为往圣继绝学 为万世开太平