get user time zone from javascript code example
Example 1: get browser timezone javascript
Intl.DateTimeFormat().resolvedOptions().timeZone
Example 2: how to see my timezone using js
document.getElementById("time").innerHTML = Date().slice(Date().indexOf("(")+1,Date().lastIndexOf(")"));