Answers for "moment add()"

6

moment date add

var new_date = moment(startdate, "DD-MM-YYYY").add(5, 'days');
Posted by: Guest on May-15-2020
0

moment.add

var newDate = moment().add(1, 'hours').add(10,"m");
//years or y
//quarters or Q
//months or M
//weeks or w
//days or d
//hours or h
//minutes or m
//seconds	or s
//milliseconds or ms
Posted by: Guest on September-20-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language