moment get current timezone offset code example Example: moment get timezone var tz = moment.tz.guess();