[Zope] Date Time Week question

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Mon, 28 Jul 2003 21:57:42 +0200


check out the "calendar" module of Python. It gives you all you need
within a *single* method call.

-aj

--On Montag, 28. Juli 2003 12:54 Uhr -0700 Rex McKanry <rmckanry@yahoo.com> 
wrote:

> Hi,
> I have a question about Date Time Week. I'm very new
> to Zope and Python and am not sure I'm going to ask
> this correctly. My question is in two parts.
>
> 1) If I have a drop down list of week numbers (1-53)
> is there a way to populate a table Sunday through
> Saturday with the correct dates for the week that is
> selected?
>
> My other thought is:
> 2) If I can search through a calendar year and pick
> out all of the Sunday dates and then add to that date
> 1 day at a time to populate the same table? Here I'm
> thinking of searching for each Sunday date and putting
> that in the drop down list insead of the week number
> above. Then adding to the selected date to fill in the
> table.
>
> Thanks for the help in advance. This is for my final
> project at school and I'm feeling the pressure this
> week even through I still have a couple of weeks.
> Thanks,
> Rex
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
> _______________________________________________
> 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 )