code: def get_local_utcoffset():
          
          utc = datetime.utcnow()
          local = datetime.now()
          if local < utc:
              return - int(float((utc - local).seconds) / 60 + .5)
          return int(float((local - utc).seconds) / 60 + .5)
docs: Return the timezone offset of the current local timezone as +/- minutes
          from UTC.
  
          A positive value indicates minutes east of UTC, and a negative
          value indicates minutes west of UTC.