[Zope3-dev] Dates and times

Jean Jordaan jean@upfrontsystems.co.za
Wed, 20 Nov 2002 12:54:07 +0200


> time('23:00').addHours(4)==time('03:00')
> 
> What's wrong with that?

So it's fine for you that these are equivalent?

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

If I have time('03:00'), how do I decide whether it's past
or future?

-- 
Jean Jordaan
http://www.upfrontsystems.co.za