[Zope3-dev] Dates and times

Chris Withers chrisw@nipltd.com
Tue, 19 Nov 2002 11:31:27 +0000


Jim Fulton wrote:
>> Why? I knwo this has been a bugbear of many peiople with Zope 2's 
>> DateTime...
> 
> Huh? What's been a bubear? We're talking about using year=0, month=0, and
> day=0 to mean that we don't care about the date. This is a bad idea.
> I've never heard of anyone wanting to do this with Zope 2's DateTime.

Sorry, misread. The bugbear is that there's no way to have a 'NULL' time with 
Zope 2's DateTime.

>> I see the smiley, not sure what it means. Maths on times is pretty 
>> essential IMHO.
> 
> Do you realize that we're talking about time of day, not date-time.
> If I have a value like "4:30" without a date, why would math be essential?

Hmmm... sorry again, I did think you were talking about date-time. Still, being 
able to say "do this in 4 hours time" would be cool :-)

cheers,

Chris . o O ( whenToDo = time().addHours(4) )