[Zope] R: [Zope] Newbie: Date checking?

Andy Gates Andy.Gates@bristol.ac.uk
Thu, 6 Jul 2000 15:46:09 +0100


> <dtml-if "_.DateTime(startdate).isPast() and 
_.DateTime(expirydate).isFuture()">
> ...
> ...
> </dtml-if>

This gives:
Error Type: TypeError
Error Value: __div__ nor __rdiv__ defined for these operands

The dates are pulled from an access (!) database where they are defined
as date/time types.  Me confoosed.

	Andy