Answers for "moment days in mnth"

3

moment subtract days

var startdate = moment();
startdate = startdate.subtract(1, "days");
startdate = startdate.format("DD-MM-YYYY");
Posted by: Guest on July-01-2020
6

moment js add day

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language