We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
http://momentjs.cn/ day.date(parseInt($(e.target).text(), 10)).hours(0).minutes(0) date()不传参数,获取日期;传参数是设置日期 hours()和minutes()同样是的 day.add(1, 'M');在当前日期上加一个月,第二个参数可以是其他字符串如“day”(天),可取值如下表
day.subtract(1, 'M');在当前日期上减去一个月。用法类似加法一样。