会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
无风何其浪
学习是一种信仰……热爱才会持久。
博客园
首页
新随笔
联系
订阅
管理
2021年9月3日
时间格式化代码
摘要: 格式化时间函数: 1 function dateFormat(date, format) { 2 if (typeof date "string") { 3 var mts = date.match(/(\/Date\((\d+)\)\/)/); 4 if (mts && mts.length >=
阅读全文
posted @ 2021-09-03 10:49 无风何其浪
阅读(51)
评论(0)
推荐(0)
编辑