Answers for "subtract days from date moment"

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

Code answers related to "subtract days from date moment"

Browse Popular Code Answers by Language