Answers for "moment js add 1 year min 1 day"

6

moment js add day

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

moment format heure

var time = "15:30:00";
var formatted = moment(time, "HH:mm:ss").format("LT");
console.log(formatted); 
//it will return 3:30 PM
Posted by: Guest on May-06-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language