moment js get timezone name code example
Example 1: js get timezone name
console.log(Intl.DateTimeFormat().resolvedOptions().timeZone)
Example 2: moment get timezone
var tz = moment.tz.guess();
console.log(Intl.DateTimeFormat().resolvedOptions().timeZone)
var tz = moment.tz.guess();