ID EN
Time

struct_time

Python 3.11

The type of the time value sequence returned by gmtime(), localtime(), and strptime(). It is an object with a named tuple interface: values can be accessed by index and by attribute name. The following values are present:

Syntax

PYTHON
class time.struct_time

See Also

gmtime() localtime() strptime() named tuple Note (2) strftime() mktime() tm_isdst