code: def from_unix(cls, seconds, milliseconds=0):
          
          base = list(time.gmtime(seconds))[0:6]
          base.append(milliseconds * 1000)  # microseconds
          return cls(*base)
docs: Produce a full |datetime.datetime| object from a Unix timestamp