offset by timezone name in momentjs code example Example: moment get timezone var tz = moment.tz.guess();