ID EN
Datetime

time

Python 3.11

An idealized time, independent of any particular day, assuming that every day has exactly 24*60*60 seconds. (There is no notion of “leap seconds” here.) Attributes: hour, minute, second, microsecond, and tzinfo.

Syntax

PYTHON
class datetime.time

See Also

hour minute second microsecond tzinfo