detect time zone js 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