moment get iso time code example
Example 1: how to get iso date with moment
moment().toISOString(); // or format() - see below
Example 2: moment get iso week number
const weekNumber = moment().format("w");
Example 3: 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