[Zope3-dev] Dates and times
Chris Withers
chrisw@nipltd.com
Fri, 15 Nov 2002 11:22:00 +0000
Jim Fulton wrote:
> > Leave all zeroes for the year/month/day part
>
>> (currently datetime doesn't allow this)?
>
> Wrong too.
Why? I knwo this has been a bugbear of many peiople with Zope 2's DateTime...
> > Maybe the datetime module needs a 'time' class?
>
> Maybe.
That could be cool :-)
> > subtracting two times to get an interval
>
>> (which perhaps should always be positive, i.e. some sort of modular
>> arithmetic (modulo 24 hours)), and adding an interval to a time (also
>> mod 24 hours).
>
> No. No. No. No math on times. :)
I see the smiley, not sure what it means. Maths on times is pretty essential
IMHO. So, what did the smiley mean? :-)
cheers,
Chris