code: def FromMilliseconds(self, millis):
      
      self.seconds = millis // _MILLIS_PER_SECOND
      self.nanos = (millis % _MILLIS_PER_SECOND) * _NANOS_PER_MILLISECOND
docs: Converts milliseconds since epoch to Timestamp.