Getting the client’s time zone (and offset) in JavaScript
Using an offset to calculate Timezone is a wrong approach, and you will always encounter problems. Time zones and daylight saving rules may change on several occasions during a year, and It’s difficult to keep up with changes. To get the system’s IANA timezone in JavaScript, you should use Run code snippetExpand snippet As of September 2019, … Read more