def FromDatetime(self, dt):
    td = dt - datetime(1970, 1, 1)
    self.seconds = td.seconds + td.days * _SECONDS_PER_DAY
    self.nanos = td.microseconds * _NANOS_PER_MICROSECOND
Sets the user's password to *raw_password*, hashed with bcrypt.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/net/proto2/python/internal/well_known_types.py/Timestamp.FromDatetime--crossover with--dataset/ETHPy150Open dwaiter/django-bcrypt/django_bcrypt/models.py/bcrypt_set_password