[Tutor] confused with dates and which way to start
johnf
jfabiani at yolo.com
Thu Feb 19 00:10:41 CET 2009
Hi,
I need to develope a routine that will provide the some dates between a
starting date and an ending date. The dates will be used to schedule
instructors for specific class dates from the list of available dates.
Class is normally on Monday, Wedesday, and Friday (or any days of the week
including Sat and Sun). If the length of the class is 6 months (01/01/09 -
06/30/09). I need to generate all the dates that would match the Monday,
Wedesday, and Friday (or whatever days are used for the class) for the entire
period.
I have done this is FoxPro in the past. Now I'm in python 2.5.
Now the problem is there appears many ways to deal with dates in python.
time(), calendar(), datetime(), dateutil(). Which is the easy way guys???
And is there something already written I should be using???? Also there is
something called 'mx'.
Thanks in advance.
--
John Fabiani
More information about the Tutor
mailing list