javascript get timezone offset in hours code example
Example: client timezone offset in JavaScript
var clientTimezoneOffset = new Date().getTimezoneOffset()/60;//offset in hours
var clientTimezoneOffset = new Date().getTimezoneOffset()/60;//offset in hours