![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
moment.js
文章平均质量分 51
I'm a little coder
久坐才是我的风格!
展开
-
uniapp 时间戳 获取问题
最近uniapp 试水 差点溺水 简单粗暴分享给大家 : 一、获取时间戳 正常浏览器new Date() uniapp 中 let time=new Date() console.log(time,"time") // {} time let time1=new Date().getTime() console.log(time1,"time1") // 1.6512e+12 time1 1.6512e+12 是科学计数法 new Date().getTime().toFixed原创 2022-04-29 10:34:32 · 3900 阅读 · 3 评论 -
moment.js 前端时间插件使用方法
1.moment.js 日期格式化 https://blog.csdn.net/qq_38698753/article/details/80702299 2.moment.js 汉化 https://blog.csdn.net/mighty13/article/details/51767884 打开复制代码 将官网的zh-cn替换或追加即可 ...原创 2019-05-06 19:14:26 · 637 阅读 · 0 评论