code: def fill_from_timestamp(self, ts):
          
          dt = datetime.datetime.fromtimestamp(ts)
          self.wYear = dt.year
          self.wMonth = dt.month
          self.wDayOfWeek = dt.isoweekday() % 7 # :/
          self.wDay = dt.day
          self.wHour = dt.hour
          self.wMinute = dt.minute
          self.wSecond = dt.second
          self.wMilliseconds = dt.microsecond // 1000
docs: Fill the class with the appropriate values extracted from the given timestamp.
  
          :param ts:  A POSIX timestamp.