SyntaxFix
Write A Post
Hire A Developer
Questions
There would be another way to do this:
var begin = moment().format("YYYY-MM-01"); var end = moment().format("YYYY-MM-") + moment().daysInMonth();