`
445822357
  • 浏览: 739577 次
文章分类
社区版块
存档分类
最新评论

js 时间库 http://momentjs.com/

 
阅读更多

Formatting dates

moment().format('MMMM Do YYYY, h:mm:ss a');
moment().format('dddd');
moment().format("MMM Do YY");
moment().format('YYYY [escaped] YYYY');
moment().format();
January 22nd 2013, 12:24:20 pm


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics