Getting Started
Developer Resources
Indices and Tables
Return the day of the week as an integer (Monday is 1, Sunday is 7).
int
Returns day of the week as an integer, where Monday is 1 and Sunday is 7.
Example
>>> dt = UTCDateTime(2008, 10, 1, 12, 30, 35, 45020) >>> dt.isoweekday() 3