moment js convert date to timezone code example Example: moment get timezone var tz = moment.tz.guess();