What's the best way to find the inverse of datetime.isocalendar()?

Posted by Tom on Stack Overflow See other posts from Stack Overflow or by Tom
Published on 2008-11-20T03:38:52Z Indexed on 2010/03/28 13:33 UTC
Read the original article Hit count: 229

Filed under:
|
|
|

The Python datetime.isocalendar() method returns a tuple (ISO_year, ISO_week_number, ISO_weekday) for the given datetime object. Is there a corresponding inverse function? If not, is there an easy way to compute a date given a year, week number and day of the week?

© Stack Overflow or respective owner

Related posts about python

Related posts about datetime