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:

Leave a comment

Your email address will not be published. Required fields are marked *