Calculate the UTC offset given a TimeZone string in JavaScript

前端 未结 5 2083
感情败类
感情败类 2020-12-06 11:00

Using the standard JS library (ECMA5), without using momentjs or external libs, how do you calculate the UTC offset given a TimeZone string such as \"Europe/Rome\"

5条回答
提交回复
热议问题