Home
/
Python 3.11
/
Datetime
/
__str__
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
Datetime
__str__
Python 3.11
For a date d, str(d) is equivalent to d.isoformat().
Syntax
PYTHON
Copy
date.__str__()