SyntaxFix
Write A Post
Hire A Developer
Questions
A simple way to do it is by using:
new Date().getTimezoneOffset();