Impossible.
The first problem of this implementation is that first, the moment can not be 60000 milliseconds.
https://ru.wikipedia.org/wiki/%D0%A1%D0%B5%D0%BA%D...
The second is that we add to
UTC (new Date) time in hours (3600000), and then get the time to
current (toLocaleString) time zone, not the one we believe time. If the person that runs this code in this range will be the transition to winter and summer, the result it will give a wrong Date to convert the date to the current locale, and not the offset which gave.
And what's more - you can not generally specify the offset from UTC in hours because of winter-summer time definitely need to know the country and the city. The transitions in winter and summer - it's all a game of some sort, for each city may have their own rules of the clock, which, moreover, are subject to change. Therefore, in operating systems carry a huge reference to correctly calculate local time.
Here, for example, that in Russia happened over time, over the past 100 years:
https://www.worldtimezone.com/dst_news/dst_news_ru...
The proposed function is almost always she will return the correct result, but will sometimes be wrong. Therefore, depending on the purpose of use. For financial documentation it cannot be used. And to output the current time on the website - why not.