figuring week of the day....

Chris Rebert clp2 at rebertia.com
Thu Jan 8 15:11:36 EST 2009


On Tue, Jan 6, 2009 at 7:56 AM, tekion <tekion at gmail.com> wrote:
> Is there a module where you could figure week of the day, like where
> it starts and end. I need to do this for a whole year. Thanks.

The "%U" time format specifier (Week number of the year) to strftime()
[http://docs.python.org/library/datetime.html#strftime-behavior] might
be helpful.

Cheers,
Chris

-- 
Follow the path of the Iguana...
http://rebertia.com



More information about the Python-list mailing list