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

Method weekday

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

Return day of the week, where Monday == 0 ... Sunday == 6.

(self)

Source from the content-addressed store, hash-verified

1158 return NotImplemented
1159
1160 def weekday(self):
1161 "Return day of the week, where Monday == 0 ... Sunday == 6."
1162 return (self.toordinal() + 6) % 7
1163
1164 # Day-of-the-week and week-of-the-year, according to ISO
1165

Callers 5

_calc_julian_from_U_or_WFunction · 0.45
_strptimeFunction · 0.45
weekdayFunction · 0.45
time2netscapeFunction · 0.45
wochentagFunction · 0.45

Calls 1

toordinalMethod · 0.95

Tested by

no test coverage detected