"week-year" conversion to date

Jorgen Grahn jgrahn-nntq at algonet.se
Sat Sep 17 17:08:25 EDT 2005


On 14 Sep 2005 06:26:01 -0700, oyvgi at hotmail.com <oyvgi at hotmail.com> wrote:
> I was wondering if it there is an "easy" way to get the dd-mm-yyyy from
> ww-yyyy.

Note that there are different standards[0] for assigning numbers to weeks in a
year. Whatever software or algorithm you use, make sure it documents which
one it implements.

/Jorgen

[0] If I recall correctly, one is an ISO standard and is the used in Sweden
    and in BSD ncal(1), but there are others that could be in common use in
    parts of the world.

-- 
  // Jorgen Grahn <jgrahn@       Ph'nglui mglw'nafh Cthulhu
\X/                algonet.se>   R'lyeh wgah'nagl fhtagn!



More information about the Python-list mailing list