access the timezone from the system momentjs code example Example: moment get timezone var tz = moment.tz.guess();