code: def fromtimestamp(cls, t):
          "Construct a date from a POSIX timestamp (like time.time())."
          y, m, d, hh, mm, ss, weekday, jday, dst = _time.localtime(t)
          return cls(y, m, df fromtimestamp(cls, t):
          "Construct a date from a POSIX timestamp (like time.time())."
          y, m, d, hh, mm, ss, weekday, jday, dst = _time.localtime(t)
          return cls(y, m, d)
docs: Construct a date from a POSIX timestamp (like time.time()).