Answers for "how to minus 7 days from current moment date"

2

moment add 30 days

moment().add(30, 'days');
Posted by: Guest on December-22-2020
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
0

moment(endDate).subtract(1, 'month')

moment().subtract(7, 'days');
Posted by: Guest on March-31-2021

Code answers related to "how to minus 7 days from current moment date"

Code answers related to "Javascript"

Browse Popular Code Answers by Language