code: def get_datetime(secs):
      
      if negative_timestamp_broken and secs < 0:
          return datetime.datetime(1970, 1, 1) + datetime.timedelta(seconds=secs)
  
      return datetime.datetime.utcfromtimestamp(secs)
docs: Return a UTC date from a timestamp.
  
      @type secs: C{long}
      @param secs: Seconds since 1970.
      @return: UTC timestamp.
      @rtype: C{datetime.datetime}