PyDocs

Nav

Data Types

time.replace

datetime

method of time
  • time.replace(hour=self.hour, minute=self.minute, second=self.second, microsecond=self.microsecond, tzinfo=self.tzinfo, *, fold=0)
Return time with new specified fields.
Changed in 3.6
  • 3.6: Added the fold parameter.
0 Examples
No examples for datetime/time.replace.
See Also
No see-alsos for datetime/time.replace
0 Notes
No notes for time.replace