ID EN
Datetime

utctimetuple

Python 3.11

If datetime instance d is naive, this is the same as d.timetuple() except that tm_isdst is forced to 0 regardless of what d.dst() returns. DST is never in effect for a UTC time.

Syntax

PYTHON
datetime.utctimetuple()

See Also

datetime tm_isdst time.struct_time OverflowError datetime.utctimetuple() datetime.timetuple()