On 5/1/06, Jonas Nielsen <[EMAIL PROTECTED]> wrote:
DateTime().strftime("%U") converts from date to week no.

Is it possible to convert from (week,year,weekday) to a specific date in
a python script in zope ?

I could install the mx.DateTime module in python and then make a product
with a method that used ISO.Week() but is there a more straight forward
approach ?

Well, steal some code from
http://svn.nuxeo.org/trac/pub/file/CalCore/trunk/src/calcore/isoweek.py
maybe?

--
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to