MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / timetuple

Method timetuple

tools/python-3.11.9-amd64/Lib/datetime.py:1075–1078  ·  view source on GitHub ↗

Return local time tuple compatible with time.localtime().

(self)

Source from the content-addressed store, hash-verified

1073 # __hash__ (and helpers)
1074
1075 def timetuple(self):
1076 "Return local time tuple compatible with time.localtime()."
1077 return _build_struct_time(self._year, self._month, self._day,
1078 0, 0, 0, -1)
1079
1080 def toordinal(self):
1081 """Return proleptic Gregorian ordinal for the year, month and day.

Callers 1

strftimeMethod · 0.95

Calls 1

_build_struct_timeFunction · 0.85

Tested by

no test coverage detected