[Tutor] working with time spans ?

Michele Alzetta michele.alzetta at aliceposta.it
Fri Jun 4 14:31:04 EDT 2004


I've taken a look at modules datetime and calendar, but they don't seem
to have what I need (or maybe I ca't see it); I would like to be able to
do something like this:

say this moment is 11 a.m. of 11 september 2002 and the timespan 'a' I'm
examining is from 1 to 30 september 2002 whereas timespan 'b' is from 12
to 15 september 2002:

thismoment in atimespan
True

thismoment in btimespan
False

Any suggestions ?

-- 
Michele



More information about the Tutor mailing list