Horje
moment add 30 days Code Example
moment add 30 days
moment().add(30, 'days');
moment js get date 1 month
var currentDate = moment('2015-10-30');
var futureMonth = moment(currentDate).add(1, 'M');
var futureMonthEnd = moment(futureMonth).endOf('month');

if(currentDate.date() != futureMonth.date() && futureMonth.isSame(futureMonthEnd.format('YYYY-MM-DD'))) {
    futureMonth = futureMonth.add(1, 'd');
}

console.log(currentDate);
console.log(futureMonth);




Javascript

Related
jquery remove string from string Code Example jquery remove string from string Code Example
border react native Code Example border react native Code Example
how to adjust the caledar height fullcalendar Code Example how to adjust the caledar height fullcalendar Code Example
javascript leave page warning Code Example javascript leave page warning Code Example
npm ERR! errno ECONNRESET Code Example npm ERR! errno ECONNRESET Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8