You can use the getTimezoneOffset method of the date object. This method returns the time zone difference, in minutes, from current locale (host system settings) to UTC
getTimezoneOffset
var offset = new Date().getTimezoneOffset(); console.log(offset); // -480