js date get timezone offset 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