Answers for "how to add years ro a moment date"

6

moment date add

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

moment add 6 months

moment().add(6, 'M');
Posted by: Guest on May-01-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language