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