moment js format handling timezones code example Example: moment get timezone var tz = moment.tz.guess();