code: def strtimezone ():
      
      if time.daylight:
          zone = time.altzone
      else:
          zone = time.timezone
      return "%+04d" % (-zone//SECONDS_PER_HOUR)
docs: Return timezone info, %z on some platforms, but not supported on all.