[Zope3-dev] Dates and times

Chris Withers chrisw@nipltd.com
Wed, 20 Nov 2002 10:32:50 +0000


Marius Gedminas wrote:
>>Chris . o O ( whenToDo = time().addHours(4) )
> 
> That's what datetime is for.  time would not do the right thing at 11
> pm, for example.

Why?

time('23:00').addHours(4)==time('03:00')

What's wrong with that?

cheers,

Chris