Answers for "iso 8601 moment"

0

how to get iso date with moment

moment().toISOString(); // or format() - see below
Posted by: Guest on April-26-2020
0

moment iso string

moment(startDate).add(1, 'day').startOf('day').toISOString().replace(/T.*/gi, 'T00:00:00.000Z')
Posted by: Guest on January-12-2022
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