Using Moment.js I would like to get all days in a month of specific year in an array. For example:
January-2014: [ \"01-wed\", \"02-thr\", \"03-fri\", \"04-s
you can do it using for loop with moment
var daysInMonth = []; var monthDate = moment().startOf('month'); for(let i=0;i