Getting Started
UTCDateTime
UTCDateTime._from_datetime()
UTCDateTime._from_iso8601_string()
UTCDateTime._from_timestamp()
UTCDateTime._get_date()
UTCDateTime._get_datetime()
UTCDateTime._get_day()
UTCDateTime._get_hour()
UTCDateTime._get_hours_after_midnight()
UTCDateTime._get_julday()
UTCDateTime._get_microsecond()
UTCDateTime._get_minute()
UTCDateTime._get_month()
UTCDateTime._get_ns()
UTCDateTime._get_precision()
UTCDateTime._get_second()
UTCDateTime._get_time()
UTCDateTime._get_timestamp()
UTCDateTime._get_weekday()
UTCDateTime._get_year()
UTCDateTime._handle_overflow()
UTCDateTime._operate()
UTCDateTime._repr_pretty_()
UTCDateTime._set()
UTCDateTime._set_day()
UTCDateTime._set_hour()
UTCDateTime._set_julday()
UTCDateTime._set_microsecond()
UTCDateTime._set_minute()
UTCDateTime._set_month()
UTCDateTime._set_ns()
UTCDateTime._set_precision()
UTCDateTime._set_second()
UTCDateTime._set_year()
UTCDateTime.__abs__()
UTCDateTime.__add__()
UTCDateTime.__delattr__()
UTCDateTime.__dir__()
UTCDateTime.__eq__()
UTCDateTime.__float__()
UTCDateTime.__format__()
UTCDateTime.__ge__()
UTCDateTime.__getattribute__()
UTCDateTime.__gt__()
UTCDateTime.__hash__()
UTCDateTime.__init__()
UTCDateTime.__init_subclass__()
UTCDateTime.__le__()
UTCDateTime.__lt__()
UTCDateTime.__ne__()
UTCDateTime.__new__()
UTCDateTime.__reduce__()
UTCDateTime.__reduce_ex__()
UTCDateTime.__repr__()
UTCDateTime.__setattr__()
UTCDateTime.__sizeof__()
UTCDateTime.__str__()
UTCDateTime.__sub__()
UTCDateTime.__subclasshook__()
UTCDateTime.__unicode__()
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