Return the day of the week as an integer (Monday is 0, Sunday is 6).
Example
>>> dt = UTCDateTime(2008, 10, 1, 12, 30, 35, 45020) >>> dt.weekday 2
Enter search terms or a module, class or function name.