Question : convert utc time to local time moment
Answered by : mubashar-mayo
const date = moment.utc().format();
console.log(date, "- now in UTC");
const local = moment.utc(date).local().format();
console.log(local, "- UTC now to local");
Source : | Last Update : Wed, 30 Dec 20