阅读背景:

Moment.js如何获得一个月的周? (谷歌日历风格)

来源:互联网 

I am using Moment.js and it is great. The problem I have now is that I can't figure out how to get the week of the month a certain date is. I can only find "week of year" in the Moment js docs. For example, if I choose today's date (2/12/2014), I would like to know that this date is in the second week of this month of february and consequently, it is the second wednesday of the month. Any ideas?I am using Moment.js and it is great. The probl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: