get client timezone offset JavaScript
snippet in javascript

get client timezone offset JavaScript

user5440

var clientTimezoneOffset = new Date().getTimezoneOffset()/60;//offset in hours