Answers for "moment js add weeks"

6

moment js add day

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