ID EN
Datetime

__str__

Python 3.11

For a date d, str(d) is equivalent to d.isoformat().

Syntax

PYTHON
date.__str__()