Answer the question
In order to leave comments, you need to log in
How to get the client's native timezone?
let's say Moscow GMT 3
We need such a format for obtaining the user's date//21.07.2016.10:56:17 GMT 3
Answer the question
In order to leave comments, you need to log in
var d = new Date();
console.log(d.getTimezoneOffset()); //смещение от Гринвича в минутах
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question