"week-year" conversion to date

oyvgi at hotmail.com oyvgi at hotmail.com
Wed Sep 14 09:26:01 EDT 2005


I was wondering if it there is an "easy" way to get the dd-mm-yyyy from
ww-yyyy.

I would like to get, for example the first day (date-month-year) in the
week i specify. Found plenty of ways to go th other way, but none that
give me the reverse.

Idealy I would like both the beginning date/time and the end date/time
of the specified week, but if i can just get a hold one of the or some
other defined time in this week i could probably work out the rest.

This is in Python :-)

dd = day in month
mm = month
yyyy = year
ww = week #

Thanks for any and all help.




More information about the Python-list mailing list