get user timezone using moment js code example Example: moment get timezone var tz = moment.tz.guess();