code: def get_offset():
      '''
      Get current numeric timezone offset from UTC (i.e. -0700)
  
      Returns:
          str: Offset from UTC
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' timezone.get_offset
      '''
      # http://craigglennie.com/programming/python/2013/07/21/working-with-timezones-using-Python-and-pytz-localize-vs-normalize/
      tz_object = pytz.timezone(get_zone())
      utc_time = pytz.utc.localize(datetime.utcnow())
      loc_time = utc_time.astimezone(tz_object)
      norm_time = tz_object.normalize(loc_time)
      return norm_time.strftime('%z'f get_offset():
      '''
      Get current numeric timezone offset from UTC (i.e. -0700)
  
      Returns:
          str: Offset from UTC
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' timezone.get_offset
      '''
      # http://craigglennie.com/programming/python/2013/07/21/working-with-timezones-using-Python-and-pytz-localize-vs-normalize/
      tz_object = pytz.timezone(get_zone())
      utc_time = pytz.utc.localize(datetime.utcnow())
      loc_time = utc_time.astimezone(tz_object)
      norm_time = tz_object.normalize(loc_time)
      return norm_time.strftime('%z')
docs: Get current numeric timezone offset from UTC (i.e. -0700)
  
      Returns:
          str: Offset from UTC
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' timezone.get_offset