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