How to convert a string UTC date to the current date on the computer of the user?

Good evening. The essence of the problem is the following:
send Ajax API
- get a response in widc array of objects
- each object in this array has the date field with a string date value in UTC format
How can I convert this value to get the current date and time according to the time zone of the user. That is, if the user visits a page, for example, United States city new York, he received the current date and time in the city of new York, and when it does, for example, from Perm, it would receive the current date and time in Perm?
June 10th 19 at 14:18
3 answers
June 10th 19 at 14:20
The best option is to use the Moment library
June 10th 19 at 14:22
so your date is coming from your server, which is located God knows where
read the local date of user
For example? - Sam_Reynolds commented on June 10th 19 at 14:25
for example, read the documentation for javascript - Pedro65 commented on June 10th 19 at 14:28
June 10th 19 at 14:24
With belts works well
In General, you may be enough and
var offset = new Date().getTimezoneOffset();

Find more questions by tags JavaScript