moment offset timezone code example
Example 1: js get timezone name
console.log(Intl.DateTimeFormat().resolvedOptions().timeZone)
Example 2: momentjs utcoffset
moment().utcOffset() // will output 60 (for example)
console.log(Intl.DateTimeFormat().resolvedOptions().timeZone)
moment().utcOffset() // will output 60 (for example)