how to know the time zone of the user js code example
Example 1: client timezone offset in JavaScript
var clientTimezoneOffset = new Date().getTimezoneOffset()/60;//offset in hours
Example 2: get browser timezone javascript
Intl.DateTimeFormat().resolvedOptions().timeZone