How to convert Moment.js UTC to Local Time
if you have a timestamp in UTC and want to convert it to the local time in the user’s browser, use the following command:
moment.utc(timeString).local();
Source:
if you have a timestamp in UTC and want to convert it to the local time in the user’s browser, use the following command:
moment.utc(timeString).local();
Source: