[Zope] comparing dates

Alejandro Fernandez ale@e-group.org
Tue, 9 Jul 2002 19:07:44 +0200


Is there a builtin way to compare dates in zope? Or do I have to do drawn
out comparisons like this?:

if DateTime(item).greaterThan(DateTime(old)):
   return  old
else:
   return item

Thanks,

Ale


-- 
Alejandro Fernandez
Electronic Group Interactive
--+34-65-232-8086--