Returns a tuple containing (ISO year, ISO week number, ISO weekday).
Return type: | tuple of ints |
---|---|
Returns: | Returns a tuple containing ISO year, ISO week number and ISO weekday. |
Example
>>> dt = UTCDateTime(2008, 10, 1, 12, 30, 35, 45020)
>>> dt.isocalendar()
(2008, 40, 3)