ID EN
Datetime

datetime

Python 3.11

A combination of a date and a time. Attributes: year, month, day, hour, minute, second, microsecond, and tzinfo.

Syntax

PYTHON
class datetime.datetime

See Also

year month day hour minute second microsecond tzinfo