Answers for "subtract 30 minutes from date moment js"

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 duratuion from hours

var k = moment.duration(12, 'hours');
Posted by: Guest on October-13-2020

Code answers related to "subtract 30 minutes from date moment js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language