Moment.js的基本使用

前言 本篇博客只是添加了一些,本身在平时开发过程当中用到的Moment.js相关的内容,不定时更新(仅作记录)web 经常使用方法 获取当前时间 var now = moment(); console.log('当前时间',now); console.log('当前时间',now.format()) //输出结果 当前时间 moment("2019-04-28T23:18:42.466") 当前时
相关文章
相关标签/搜索